title: keydown event not working in Chrome
body: <p>I have an asp.net form with two textboxes and one button. I have implemented the code to fire the click event of the button on enter key press.</p>
  
  <pre><code>&lt;asp:LinkButton ID="statementSearchButton" runat="server" OnClick="GetSearchResults" class="enterButton"&gt;
  &lt;/asp:LinkButton&gt;
  
  $(document).keydown(function (event) {
          if (event == undefined) {
              event = window.event;
          }
          if (event.keyCode == 13) {
              $('.enterButton').focus();
              $('.enterButton').click();
          }
      });
  </code></pre>
  
  <p>This works fine in IE and Firefox but not in Chrome. I debugged the JS in Chrome using Developer tools and found that the statements inside the keycode == 13 if block are executed but the click event is not getting fired somehow. Any idea to fix this problem?</p>