title: Disable submit button on click after form validation
body: <p>I have a form, which has a jquery form validation.. what i need is the submit button should get disabled when i submit the form once the validation is done..</p>
  
  <pre><code>&lt;form action="#" method="post" id="myform" name="myform"&gt;
      Location: &lt;input name="location" type="text" /&gt;
      Site: &lt;input name="site" type="text" /&gt;
      Age: &lt;input name="age" type="text" /&gt;
      Gender &lt;input name="gender" type="text" /&gt;
      &lt;input name="button" type="submit" class="myButton" id="button" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>here is my form <a href="http://jsfiddle.net/dgYpX/" rel="nofollow">JsFiddle</a></p>