[jQuery] How to submit a form with an Anchor rather than an Input tag?
Hi,
I have a very simple contact form that I would like to submit using an
anchor rather than an input tag. This is what I've got so far:
[code]<a class="button" href="javascript:{}"
onclick="document.getElementById('contact-form').submit(); return
false;">Send</a>[/code]
Unfortunately, it doesn't work :-(
Can anybody help me with this?
Thanks a lot...