title: How to prevent Enter for onclick in anchor tag?
body: <pre><code>&lt;a href="javascript: void(0);" onclick="callFunction()"&gt;&lt;img src="imagePath" border="0" alt="" title="" /&gt;
  </code></pre>
  
  <p>If i click the anchor tag it will call the function callFunction().
  After clicking the anchor tag, if i press the enWter key, again the function is called.
  How to prevent Enter for onclick in anchor tag?</p>