title: Avoid multiple events on keyup, keydown when used simultaneously
body: <p>I have the below code. If I press enter key, it triggers click twice. How to avoid multiple triggering of event?(Kepping keyup keydown together). Note: This situation is occuring in chrome not in IE</p>
  
  <pre><code>$(document).on('keyup keydown','#txtbox', function (event) {  if(event.which == 13 )$('#btnEnter').click(); return false;}});
  </code></pre>