title: Trigger a keypress/keydown/keyup event in JS/jQuery?
body: <p>What is the best way to simulate a user entering text in a text input box in JS and/or jQuery?</p>
  
  <p>I <strong>don't</strong> want to actually put text in the input box, I just want to trigger all the event <strong>handlers</strong> that would normally get triggered by a user typing info into a input box. This means focus, keydown, keypress, keyup, and blur. I think. </p>
  
  <p>So how would one accomplish this?</p>