I've a form that contains a submit button:
<input type="submit" name="submit" value="Submit" />

What I am trying to do is use javascript to make this automatically:
document.forms["myform"].submit();

The problem is that I need to access the value of $_POST['submit'] on server side.
The form submit method doesn't have any parameters and since it has the...