title: jquery (or pure js) simulate enter key pressed for testing
body: <p>What the best way to simulate the user pressing "enter"? $(element).keypress() doesn't seem to allow me to pass in the actual key that was pressed.</p>
  
  <p>This is for unit testing. </p>