Anjishnu Bandyopadhyay wrote:
I have a <nested:iterate> tag within another <nested:iterate> tag.
<nested:iterate property=".." id="..">
< nested:define id="year" value=".."/>
<nested:text property=".." value="<%= year %>"/>
<nested:iterate property=".." id="..">
<nested:text property=".. " onchange="calc(<%= year
%>) "/>
</nested:iterate>
</nested:iterate>
Here, on change of the text box in the inner <nested:iterate>, I want to
send some value to a java script function, that is available from a
<nested:define>/ <bean:define> value.
But, I am not being able to do so. Some syntax error is coming.
OK, what syntax error? My guess would be that you need to change your
onchange attribute to
onchange='<%= "calc(" + year + ")" %>'
If that's not the problem, post the error you're getting.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]