JavaScript
Article
By Sam Deering

jQuery simulate form submit

By Sam Deering

Simple jQuery snippet to simulate a form submit.

$("#myform").submit();

or using raw JavaScript (on element):

--ADVERTISEMENT--

this.form.submit();
Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account