This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes problem referring to form elements from javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem referring to form elements from javascript" Watch "problem referring to form elements from javascript" New topic
Author

problem referring to form elements from javascript

vijay makam
Ranch Hand

Joined: Sep 06, 2008
Posts: 31
Hi All,

I am using logic:iterate tag to display some rows of values returned by bean. I have a check box against each row, which when selected should make the whole row editable.
Now My problem is, I am not able to get hold of any of the fields(displayed using the logic:iterate tag) in the javascript using getElementsByTagName() or getElementsById().

Please help me in this regard.

Thanks in advance


Regards,
vijay
sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
please show me your coding..

sanju
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem referring to form elements from javascript
 
Similar Threads
how to use indexid of logic:iterate tag in struts
Get the value of the checkox index and disable/enable the textbox
Help regarding logic:iterate tag
How to pass parameters to javascript function on click of html:link
Javascript in Struts