• 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Java Scripts in JSP page

 
Greenhorn
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

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
  • Quote
  • Report post to moderator
Megha JR has HTML and JavaScript Forum.
 
Greenhorn
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.

Cheers
Vasu
 
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
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic