title: Add a function to an anchor tag
body: <p>I have several such anchor links as shown below.</p>
  
  <pre><code>&lt;a href="http://google.com" onClick="unhook()"&gt;  Google &lt;/a&gt;
  </code></pre>
  
  <p>I want to apply the <code>onClick</code> event to all anchor tags dynamically. Is it possible?</p>