Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript and Struts-Form

Status
Not open for further replies.

Alex2xm

Programmer
Jun 15, 2004
1
DE
Hello Struts-Programmer,

i'm wirting an application with Struts. At the form i've 5 Checkboxes. Now i have to programm following UseCase:
If the 5th box was clicked, the 4 other boxes should be selcted.
Normally i can realize that with Javascript but how can I write the JS logic into the Struts form tags? When I add the attribute "name" or "onclick" i got an servlet error. :(

How can i solve these Problem?

Thanks Alex
 
Can you show us the servlet error?

Can you show us the code that causes the error?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top