title: jQuery Event Keypress: Enter key
body: <p>i have a combo box which has got values and i want to give the user to select the values when the <code>Enter</code> key pressed. </p>
  
  <ol>
  <li>User can navigate through <code>Arrow</code> key</li>
  <li>Select the value when user enters <code>Enter</code> key.</li>
  </ol>
  
  <p>I have done this one :</p>
  
  <pre><code>$('#cmb_CIMtrek_DailyshipCo_CustomerName select').bind('keypress', function(e) {
      var code = (e.keyCode ? e.keyCode : e.which);
       if(code == 13) { //Enter keycode
         //Do something
           alert("Enter key Pressed");
       }
  });
  </code></pre>
  
  <p>but is not giving alert when I press <code>Enter</code> key.</p>
  
  <p>What could be the problem and how to solve it?</p>
  
  <p>Best Regards.</p>