[thelist] Link to cause POST request

Brian Cummiskey Brian at hondaswap.com
Fri Jul 29 08:36:11 CDT 2005


Dave.Phillips at alltel.com wrote:
> <form name="thisform" action="whatever" method="post">
> 	... your form elements ...
> </form>
> <a href="javascript:;" onclick="thisform.submit();">Submit Form</a>
> 
> The HREF doesn't need to be inside the form, but it can be anywhere on the page.

Just keep in mind, if the user has JS disabled, or not available, your 
form will never be able to be submitted.

http://www.quirksmode.org/js/accessibility.html



More information about the thelist mailing list