title: I want to disable link button after clicking of it and other enable. toggle enable/ disable between both link buttons using javascript
body: <p>I want to disable link button after clicking of it &amp; other enable. toggle enable/ disable between both link buttons using javascript</p>
  
  <pre><code>&lt;a id="a1" href="page1.aspx"&gt;One&lt;/a&gt;&lt;a id="a2" href="page2.aspx"&gt;Two&lt;/a&gt;
  </code></pre>