How do I delay a function call?
<p>How do I delay my function (beginUpload()) from executing when it is called? I tried the function delay(), but the function still executes instantly after my form is submitted. I don't want the function to execute over and over on an interval. I just want to delay its execution for a period of time. Anyone have any ideas?</p>

<pre><code>&lt;form action="testing12345.php" target="progressFrame" method="post" id="uploadform" enctype="multipart/form-data" onsubmit="beginUpload().delay(8000);"&gt;
</code></pre>
