title: Trigger a "ENTER" in programmatically
body: <p>It is possible to program a "Enter" after a value is added to a input text box?</p>
  
  <p>If yes, I need help on my code below. It does't trigger the "ENTER" keypress.</p>
  
  <p>My code as below:</p>
  
  <pre><code>$('#clo_cart').click( function () {
  
  /*Save ENTER in variable*/
  var eneterKey = jQuery.Event("keydown");
  eneterKey.which = 13; 
  eneterKey.keycode = 13;
  
  $("#scan_char").focus().val('CLOSECTN').trigger(eneterKey);
  }//end of button click
  </code></pre>
  
  <p>Pls Help</p>