Did button actually click?
<p>I have some javascript that ends up programatically clicking on a button:</p>

<pre><code>  document.getElementById("myButton").click();
</code></pre>

<p>This in turn results in the form being submitted using a function call:</p>

<pre><code>  &lt;form onsubmit="submit_this_form(this);return false;" action="" method="POST"&gt;
</code></pre>

<p>It seems that a good percentage of the time either the actual button click is not going through or the form is not being submitted.  I think the button click is going through and I know the code is being called because I have a counter embedded and I can see it is executing.  </p>

<p>My question is...is there an event or a way to verify that the form actually posted?  By the way, I don't have control of the HTML code so I can't change the  tag content.</p>
