You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by SUPRIYA MISRA <su...@hotmail.com> on 2002/02/13 21:32:39 UTC
Help with JavaScript in Stuts
How does one incorporate onchange JavaScript Handler on a html:text tag?
I want onchange="update(1,3,4)" on a html:text tag.
3,4 is a string that comes from the form
This is failing :-----
<logic:iterate id="actHour" name="currentForm" type="fal.ActivityHour"
property="actHourArray">
<html:text size="6" maxlength="4" name="actHour" property ="faHrsDay1"
indexed="true"
onchange="update(1,<bean:write name="actHour" property="value"/>)"/>
<logic:iterate>
also tried
onchange="update(1,<%=actHour.value%>)" but the scriptlet is transferred as
it is.
Any suggestions?
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>