jQuery replace text on submit
<p>I have a file upload form on a site and i'd like to replace the form with the text "uploading..." whilst the file uploads. so far i have:</p>

<pre><code>$( document ).ready(function(){
    $(form).submit(function(){
        $('#key').html("Uploading...");
    });
});
</code></pre>

<p>the submit part works because i got it to alert on submit and the .html part works because it will change the html when it's not in the submit function. The form is in a div with the id of "key". </p>
