How do I submit a form using jQuery?

Possible duplicate:
Submit form using jQuery

$('#form')

      

It assumes that the form's jQuery object is available.

+2


source to share


2 answers


$('#form').submit();

      



+14


source


If you do a lot of form ajaxery, you might be interested in this plugin . You can connect the form on the finished document and it will handle the ajaxing:



$('#form').ajaxForm();

      

0


source







All Articles