/ Published in: jQuery
Just a little bit of code if u are interested in using links for form submission. I'm aware of the dangers of using links in this case, but don't really care. They're way easier to style.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready( function(){ // bind "click" event for links with title="submit" $("a[title=submit]").click( function(){ // it submits the form it is contained within $(this).parents("form").submit(); }); });