Try this: function submitme() { $('#myform').ajaxSubmit(); return false; }
On Nov 24, 2007 8:38 PM, Geoff Millikan <[EMAIL PROTECTED]> wrote: > > 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> >