Issue with Javascript Auto Post Form
<p>I'm using Javascript to auto post a form,
but I seem to be getting a lot of people telling me it doesn't work for them.</p>

<p>This is very important because the form is linked with my payments :/</p>

<p>Prehaps I am using an outdated way of doing it, any help would be appreciated.</p>

<p>Here is my code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
document.getElementById('paypal_form').submit();
&lt;/script&gt;
</code></pre>

<p>And here is the form (simplified):</p>

<pre><code>&lt;form method="POST" id="paypal_form" name="paypal_form" action="https://www.paypal.com/cgi-bin/webscr" style="margin: 0; padding: 0; display: block; clear: both;"&gt;

&lt;input type="submit" value="Click here if your browser does not automatically redirect you." style="margin: 0; margin-top: 12px; margin-bottom: 0px; font-size: 11px; padding=left: 4px; padding-right: 4px; padding-top: 2px; padding-bottom: 2px;"&gt;
&lt;/form&gt;
</code></pre>
