Have a html:text . onchange of the value entered in this field, have to submit the form.

Using LookupDispatchAction.

<script>
function onNumChange(numObj)
       document.forms[0].method.value="numPay";
       document.forms[0].submit();
}
<script>

<html:hidden property="method"/> // used for LookupDispatchAction

<html:text name="Form1" styleId="numID" property="numPay" onchange="onNumChange(this);"/>

IS it possible to submit a form onchange of a input field? the above is not working. How can this be done?

Thanks.

_________________________________________________________________
Get real-time traffic reports with Windows Live Local Search http://local.live.com/default.aspx?v=2&cp=42.336065~-109.392273&style=r&lvl=4&scene=3712634&trfc=1


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to