title: Jquery/Javascript code to simulate key typing in a text field in google chrome console
body: <p>I have an input box with auto complete extender. I want to simulate the key press using jquery or javascript. The key press should actually open the auto complete popup.</p>
  
  <p>I searched for simulating keypress using jquery and came up with these answers:
  1) <a href="https://stackoverflow.com/questions/1468384/simulate-keypress-with-jquery">Simulate Keypress With jQuery</a>
  2) <a href="https://stackoverflow.com/questions/15722096/simulating-a-keypress-event-from-javascript-console">Simulating a Keypress Event from Javascript Console</a>
  3) <a href="https://stackoverflow.com/questions/6124692/jquery-simulating-keypress-event-on-an-input-field">JQuery simulating keypress event on an input field</a></p>
  
  <p>All of these allow me to just simulate a single key in at a time. But what if I want to allow batch key events? 
  For example, I want to directly key in "abcde" text in a single line of code without having to type in the key code of each character. </p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>I am trying to simulate key press using google chrome console. None of the answers have worked for me :(</p>
  
  <p>Is it possible via jquery/javascript or some other library?</p>