Hello,
I've a collection and i iterate using logic:iterate,
inside the iterate, put a html:select.
<logic:iterate name="form" property="coll" id="idx"
indexId="indexId">
...
<html:select name="idx" property="grade"
onchange="onchangeGrade(${indexId});" >
</html:select>
...
</logic:iterate>
In the html:select, I add an javascript onchange
event. the event call onchangeGrade.
I need the indexId is write as parameter in javascript
onchangeGrade.
But when I run, it's javascript error. When view the
html source see, the ${indexId} is not convert to a
number (just as string).
Expected: onchange="onchangeGrade(0);"
onchange="onchangeGrade(1);"
... etc
Anyone can help?
Thanks,
Popo
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]