• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java Scripts in JSP page

Posts: 24
  • Mark post as helpful
  • send pies
  • 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

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
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
  • Quote
  • Report post to moderator
Megha JR has HTML and JavaScript Forum.
Posts: 6
  • Mark post as helpful
  • send pies
  • 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.

Are you here to take over the surface world? Because this tiny ad will stop you!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic