Re: using hyperlinks as submit buttons



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.
.


Quantcast