/ Published in: JavaScript
Name the form what ever you like, but make sure that is reflected in the javascript.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<form id="my_form"> <!-- More HTML --> <a href="javascript:{}" onclick="document.getElementById('the_form').submit(); return false;">submit</a> </form>