I have a page, with a for开发者_开发百科m that has hidden fields.
What I'm looking to do, is when the user hits the page, they get a 'Redirecting you....' and then the form is then submitted.
Can this be done using jQuery/PHP?
Thanks
To simply submit the form:
$('#FormID').submit();
If you want to do other UI stuff while the form is being submitted look at using AJAX to submit the form and update the UI.
http://api.jquery.com/jQuery.ajax/
getElementById("frmID").submit();
精彩评论