jquery send form dynamically code example
Example: create a form and submit it dynamically jquery
$(function() {
$('<form action="form2.html"></form>').appendTo('body').submit().remove();
});
$(function() {
$('<form action="form2.html"></form>').appendTo('body').submit().remove();
});