title: HTML anchor tag with Javascript onclick event
body: <p>On using Google I found that they are using onclick events in anchor tags.</p>
  
  <p>In <strong>more</strong> option in google header part, it looks like normal a tag, but onclicking it doesn't get redirected but opened a menu. Normally when using</p>
  
  <pre><code>&lt;a href='more.php' onclick='show_more_menu()'&gt;More &gt;&gt;&gt;&lt;/a&gt;
  </code></pre>
  
  <p>It usually goes to 'more.php' without firing <code>show_more_menu()</code>, but I have show a menu in that page itself. How to do like <strong>google</strong>?</p>