Disable submit button and display message
<p>id like to be able to disable the submit button when the form is submitted, also id like to add a message like ("this may take a while") when the form is submitted.</p>

<pre><code>&lt;form id="myform" method="post" action="default.asp" onsubmit="return Validate(this);"&gt; 

&lt;p&gt;Select credit card:
    &lt;select tabindex="11" id="CardType"&gt; 
        &lt;option value="AmEx"&gt;American Express&lt;/option&gt; 
        &lt;option value="CarteBlanche"&gt;Carte Blanche&lt;/option&gt; 
    &lt;/select&gt; 
&lt;/p&gt;

&lt;p&gt;Enter number:
    &lt;input type="text" id="CardNumber" maxlength="24" size="24" value="1234" /&gt;
    &lt;input type="submit" id="submitbutton" /&gt; 
&lt;/p&gt; 

&lt;/form&gt;
</code></pre>
