title: how to write onclick event for href tag
body: <p>Can anybody help me out writing this on onClick event on href tag?</p>
  
  <pre><code> string x= "&lt;a href=\"JavaScript:callfunction(event,'"+ y.id.tostring() + "');\"&gt;click&lt;/a&gt;";
  </code></pre>