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();
Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.