using Jquery to automatically submit form


I am trying to submit a form by using jquery automatically after page load


$("input[name=email]").val("[email protected]");


Both the name/email value can be seen to get populated on the form. But the submit event wont triggered.

Any one here that can shed any lights ?

thanks !

By : Rob Chuah


I had to remove my Submit button to get $('#myForm').submit() to work. Not sure why.

Add a function in the submit. Seems to work for me.

$('#aweberform').submit(function(){return true;});

Try this document.getElementById('formId').submit();

This video can help you solving your question :)
By: admin