Re: how get index value at logic:iterate

2006-12-12 Thread Po Po
Ok, it's working. Thanks, Popo --- Nikhil Walvekar <[EMAIL PROTECTED]> wrote: > try > > onchange='<%= "onchangeGrade(" + indexId.intValue() > + ");" %>' > > > Regards, > Nikhil > > On 12/12/06, Po Po <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I've a collection and i iterate using > lo

Re: how get index value at logic:iterate

2006-12-12 Thread Antonio Petrelli
Po Po ha scritto: 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). Do you use a JSP 2.0 compliant app server, such as Tomcat 5.5? - To unsubsc

Re: how get index value at logic:iterate

2006-12-12 Thread Nikhil Walvekar
try onchange='<%= "onchangeGrade(" + indexId.intValue() + ");" %>' Regards, Nikhil On 12/12/06, Po Po <[EMAIL PROTECTED]> wrote: Hello, I've a collection and i iterate using logic:iterate, inside the iterate, put a html:select. ... ... In the html:select, I add an javascript onchange

how get index value at logic:iterate

2006-12-12 Thread Po Po
Hello, I've a collection and i iterate using logic:iterate, inside the iterate, put a html:select. ... ... 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 javasc