title: Prevent Double Submit on ASP.NET MVC page
body: <p>I have an ASP.NET MVC 4 view. In the view, I have</p>
  
  <pre><code>&lt;form action="/myAction" method="post"&gt;
    ...
    &lt;input type="submit" value=" Save&amp;nbsp;" onclick="this.disabled = true; this.value = ' Please wait... '; return true;" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>By disabling the button, the form never gets submitted. However, I would like to disable the button after a user clicks it. The reason I want to disable it is to prevent the user from clicking the "submit" button multiple times. What am I doing wrong? I thought if I returned true, the form would still submit.</p>