title: Javascript press key on input class
body: <p>I am trying to press a key on an input on my page using javascript.</p>
  
  <p>Needs to be as a one line of code like:</p>
  
  <pre><code>javascript:oninputmyInput.pressKeynum1();
  </code></pre>
  
  <p>can this be done?</p>