Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Java Scripts in JSP page

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers!!
Sorry to send this in JSP forum since i didn't found javascript forum!!
I've a trouble in implementing the javascripts in JSP page
It is working properly!! I have checked through out the internet and couldn't even find a solution!!
I'm doing a project -- ACCOUNTS SYSTEM!!
for that displaying up to the ledger is OK

now..
after retrieving the datas from the table the jsp page will be looking like this
the first row of the table contains
1) check box
2) Details
3) VAT TYPE
4) VAT DETAILS
____________________________________________________________________
check |Details |combo box |textbox |
| |(default : disable) |(default:readonly) |
____________________________________________________________________
chk1|rs.getString(1)|combo box containing 3 items| display what is|
chk2 |rs.getString(2)|standard, excempt,zero rate | selected in the|
chk3 |rs.getString(3)| |combo |_____________________________________________________________________

and the corresponding rows below that contains the datas from the database
___________

now there is the use of scripts
when the page is loading all the combo box will be disabled and all the text box will be in read only
so.. when i'm checking the first checkbox.. in the table header
all other checkbox should also select (like a select all button in the email clients like yahoo.. gmail and all)
at the same time the corresponding combo box should also get enabled!!
and then only it can be able to select the values from the combo.. which ever value is selected it should display in the textbox corresponding to that combo!!

i think you all understood what i meant!!
and help me..
i don't really know the complexity of this
please help for doing my project well!!

thanks in advance!!
regards megha!!
[ April 11, 2006: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Megha JR has HTML and JavaScript Forum.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Megha.

I certainly do get a point here. Can you tell me are you using any Script at the moment or do you want the script itself. If you do have the script please do post it here so that maybe we can work on dat.

Cheers
Vasu
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic