title: Disabled link button still submitting in asp.net webform
body: <p>I'm trying to disable a link button to prevent the user from submitting several times.</p>
  
  <p>I've seen many questions like this here on SO, most people suggest the following javascript:</p>
  
  <p><code>button.disabled = true</code> or <code>button.disabled = 'disabled'</code></p>
  
  <p>Which indeed disables the button (the button is greyed out), but the problem is that it's still clickable, and still submits!!</p>
  
  <p>Here is my stripped down code:</p>
  
  <p><code>function ValidateButton(button){<br>
     // some other code<br>
     button.disabled = true;<br>
     button.value = 'Processing...';<br>
  }</code></p>
  
  <p><code>&lt;asp:LinkButton Text="Submit" ID="btnSubmit" runat="server" onclick="btnSubmitRow_Click" OnClientClick="return ValidateButton(this);"/&gt;</code></p>
  
  <ol>
  <li>Why is the button still clickable, and submits after being disabled ?</li>
  <li>The button text is still "Submit" not "Processing...', why?</li>
  </ol>