Modify JQuery Progress Overlay Script
<p>I have an overlay that is triggered when a submit button is pressed. Can anyone help me modify this script to work on pageload? Thankyou in advance</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(e) {
    $('div.submitbutton').click(function(event){
        $(this).val('Loading.. Please wait');
        $('#loading').show();
        setTimeout(function(){
            $('#myform').submit();
        },200);
    }); 
});
&lt;/script&gt;
</code></pre>
