Wednesday, December 29, 2010

jquery.form onsubmit

jQuery has a plugin for form which does alike mootool .load method for form..
If you need to submit the form through javascript, you may not use
document.formname.submit(), as this will bypass the onsubmit event.

To make it work, use $("#formid").submit();


Reference:

No comments: