Use the "submit" method of the Form object. You should always give your form an ID:
<form id="myForm" action="myServerSideCode.php" method="post"></form>
Then, you can reference and submit the form with a script that looks like:
document.getElementById("myForm").submit();
Reputation Points: 227
Solved Threads: 37
Made Her Cry
Offline 1,697 posts
since Dec 2004