I am trying to submit a form by using jquery automatically after page load
$(function(){
$("input[name=name]").val("somename");
$("input[name=email]").val("[email protected]");
$('#aweberform').submit();
});
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 !
Try this $('#aweberform').submit();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With