Re: using hyperlinks as submit buttons
- From: jojo <jojo.hafner@xxxxxx>
- Date: Tue, 27 Jun 2006 16:39:29 +0200
Alexander Weiner schrieb:
Hello,
I have several sites, that includes the forms in an <form method=post
action="...">.
It is absolutely necessary, that all the parameters are send by post and not
by get. Now I want to insert Hyperlinks <a href... in this form section. But
here I have to put the parameters in the url via get.
Is there a way to use the hyperlinks like a submit button that sends all the
elements in the form section via post? JavaScript is allowed.
Thanks for all answers.
<script type="text/javascrit" language="javascript">
document.SomeForm.submit()
</script>
<body>
<form name="SomeForm" method="post" action="...">
..
..
..
</form>
</body>
Should work with all browsers.
.
- Follow-Ups:
- Re: using hyperlinks as submit buttons
- From: David Dorward
- Re: using hyperlinks as submit buttons
- References:
- using hyperlinks as submit buttons
- From: Alexander Weiner
- using hyperlinks as submit buttons
- Prev by Date: Re: using hyperlinks as submit buttons
- Next by Date: Re: using hyperlinks as submit buttons
- Previous by thread: Re: using hyperlinks as submit buttons
- Next by thread: Re: using hyperlinks as submit buttons
- Index(es):