This topic is now archived and is closed to further replies.


Making Hyperlinks act like submit buttons

Recommended Posts

Original post by Mulligan
Yup, worked, thanks.

what if i want them to be ''post'' instead of being attached to the url?

Easiest way I know is to use javascript to post a form.

<form name="sample" action="test.html" method="post">
<input type="hidden" name="name" value="value">
<a href="javascript:document.forms.sample.submit();">Click</a>

Share this post

Link to post
Share on other sites