You are here: Re: using hyperlinks as submit buttons « HTML « IT news, forums, messages
Re: using hyperlinks as submit buttons

Posted by jojo on 11/25/69 11:51

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация