I am trying to auto submit this form when the page loads, and I have tried many different scripts, but none seem to work. Could someone help?

<html> <head> <title>Untitled 1</title> </head> <body> <form action="http://www.websiteurl.com/index.php" method="post" name="sendform"> <input type="hidden" name="ID" value="89734957838732498723"><input type="submit" name="submit" value="Submit"></form> </body> </html> 
Member Avatar

Why do you want to submit a form on page load?

<body onload="document.all.sendform.submit();"> but watch out - if form action will be self address then it raise endless loop