title: Disable link using javascript
body: <p>I have following HTML and would like to disable the link using javascript.</p>
  
  <pre><code>&lt;a style="white-space: nowrap;" onclick="return InstallWebApp(true);" id="uc_ii_lnkInstall" href="javascript:__doPostBack('uc_ii$lnkInstall','')"&gt;
  &lt;img style="border-width: 0pt; margin-right: 3px;" id="uc_ii_lnkInstallImg" alt="Install" title="Install" src="/CortexDotNet/pics/buttons/install_g.gif"&gt;
  Install
  &lt;/a&gt;
  </code></pre>
  
  <p>The JavaScript I am using are :</p>
  
  <pre><code>  document.getElementById("uc_ii_lnkInstall").disabled = true;
  </code></pre>
  
  <p>However , it does not work , I could still click this this link after I have disabled the link using the above javascript.I look at the html , it does not seem to have the disable attribute in the a tag.Can anyone help me to explain this please?</p>