Archived

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

Mulligan

Making Hyperlinks act like submit buttons

Recommended Posts

quote:
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">
</form>
<a href="javascript:document.forms.sample.submit();">Click</a>

Share this post


Link to post
Share on other sites