title: How do I disable an <HTML:submit> button without disabling the associated form?
body: <p>I have users that like to rapidly click on the submit button when they're being impatient, and this can cause the associated action to submit multiple times.  What I want to do is disable the button on click like so:</p>
  
  <pre><code>&lt;htmt:submit property="submitFunction" value="&lt;℅WorkForm.SUBMIT_REGULAR %&gt;" styleClass="button" onclick="this.disabled=true;/&gt;
  </code></pre>
  
  <p>This disables the button, but also prevents it from submitting its form data, because it relies on knowing whether SUBMIT_REGULAR or another submit type is being used.</p>
  
  <p>How can I disable this button without also disabling the form? </p>