You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Charlemagne L. Rey" <bo...@operamail.com> on 2001/04/13 21:18:31 UTC
submitting an HTML form
hello everybody,
i would like to know if it is possible to submit a
form not using the <html:submit> tag. i mean, i
would like to use an ordinary link and not a button
to submit a form.
thanx
charlemagne
Re: submitting an HTML form
Posted by Peter Alfors <pe...@irista.com>.
You can use javascript such as:
-- uses the action specified in the form --
document.myForm.submit(document.myForm);
OR
-- you can set the form's action dynamically --
document.myForm.action = 'myAction.do';
document.myForm.submit(document.myForm);
HTH,
Pete
"Charlemagne L. Rey" wrote:
> hello everybody,
>
> i would like to know if it is possible to submit a
> form not using the <html:submit> tag. i mean, i
> would like to use an ordinary link and not a button
> to submit a form.
>
> thanx
> charlemagne