title: Prevent anchor click after one click
body: <p>I am facing one issue, I want to disable anchor click after one click. I have 
  on-click attribute set in my anchor tag. Below is my HTML</p>
  
  <pre><code>&lt;a style="cursor:pointer;" id="someId" onclick="Myfuntion()"&gt;Verify&lt;/a&gt;     
  </code></pre>
  
  <p>After I click "Verify" I am changing anchors text to "Verifying..." and one more thing I am trying to disable this anchor to avoid click in between the verification logic going on.</p>
  
  <p>I have tried event.preventdefault() and also added disabled attribute to anchor.
  But nothing works.</p>
  
  <p>Please help!</p>