This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes use of javascript in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "use of javascript in struts" Watch "use of javascript in struts" New topic

use of javascript in struts

Prams Coolkarni

Joined: Nov 01, 2005
Posts: 12
Hi guys, i have been working on struts recently and using some javascript for the validation process of certain fields. I wanted to know that how can we get the value of indexId specified in the given <logic:iterate> tag of struts in javascript so that, that value can be used by me in the javascript for my validation logic.
SuprajaY Yasoda

Joined: Oct 17, 2005
Posts: 17
think it helps


FBRePre is name of the form
arrSelectedAO is name of the field in form
I agree. Here's the link:
subject: use of javascript in struts
Similar Threads
confused with use of validation framework
Default Value in html:select
Struts Validation Framework
client side validation vs server side validation