I want to create a submit link instead of a submit button.
It looks like any ordinary link (blue and underlined) and when you click on it, the form is submitted.
Edit: is it possible to do this without javascript/jquery?
No js, only CSS
<input type="submit" value="ABC" style="background:none; border-width:0px; color:blue; text-decoration:underline;" />
You can do it with Javascript:
<a href="#" onclick="document.formName.submit();return false;">submit form</a>
Edit:
This page:
http://www.beginningjavascript.com/Chapter4/exampleSubmitToLinks.html
has styled a button to look like a link, but it still uses Javascript to achieve it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With