title: onkeydown calling function working in IE but not in other browsers
body: <p>I am calling one JavaScript function during onKeyDown event for a textbox like    </p>
  
  <pre><code>@onkeydown="javascript:return avoidSpecialCharacters(event)"
  </code></pre>
  
  <p>The JavaScript function is getting called in IE but not in chrome, safari and mozilla. What do I need to do to get it to work in these browsers?</p>