title: jquery disable submit button on form submission
body: <p>For whatever reason, though this code does refresh the page, no fields get posted...</p>
  
  <pre><code>$('form').submit(function(){
      $('input[type=submit]', this).attr('disabled', 'disabled');
  });
  </code></pre>
  
  <p>Is there a better way of coding this?</p>