title: How to Show Like Typed Key In Input Form After Simulate 'A' Key Press
body: <p>This is a code for key press 'A' (65): See: <a href="http://jsfiddle.net/3xTM2/466" rel="nofollow">http://jsfiddle.net/3xTM2/466</a> 
  The problem is: Why 'A' doesn't display after clicking submit? 
  <div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var onclick = function(){
      var e = $.Event('keypress');
      e.which = 65; // Character 'A'
      $(this).focus().trigger(e);
      console.log('pressed');
  };
  
  $('#test').click(onclick);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input id="test" type="input" /&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to simulate 'a' click key at input form after clicking Submit button. Why 'A' hasn't been typed into 'input form'? How to change this code to display 'a' at input form after simulate it by javascript?</p>