[jQuery] jQuery Form Plugin > document.myform.submit()
I love the jQuery Form Plugin!
I want to submit the form using an onClick event instead of making the
User click a <input type=submit> button. Is that possible? I tried
the below but no luck:
function submitme(){$('#myform').submit(function() {
$(this).ajaxSubmit();
return false;
});}
<a href='#' onClick="Javascript:submitme();">Click here to submit
myform.</a>