I have a very simple form in HTML and I\'d like to submit this form after 2000ms (of delay) from when the document is ready, without push the submit button. How can I do thi
You need to wait with delay() function and then submit() the form itself:
$(function() { $('#my_form').delay(2000).submit(); });
$(function() { setTimeout(function() { $('#my_form').submit(); }, 2000); });