You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by 752004 <ma...@yahoo.com> on 2006/09/24 10:26:22 UTC
submit form using javascript with html:button for different action
in html:button onclick method I am calling a javascript function where
my code is
document.forms[1].action="...";
document.forms[1].submit();
I have used html:form where I mentioned the action which is different that
script action...
It gives javascript error on document.forms[1].action="..."; saying that not
an object or method...
in this action I am trying to call a method on LookupdispatchAction
--
View this message in context: http://www.nabble.com/submit-form-using-javascript-with-html%3Abutton-for-different-action-tf2325691.html#a6470186
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org