title: How to simulate multiple keypress event at the same time
body: <p>I found this way, but with it I can only set one keycode in <code>.which</code>, I want to simulate the keys<br> <kbd>ALT</kbd>+<kbd>space</kbd>+<kbd>x</kbd> at the same time.</p>
  
  <p>For <kbd>ALT</kbd> I can use <code>.altKey = true;</code></p>
  
  <pre><code> $(".btn").click(function() {
      var e = jQuery.Event("keypress");
      e.which = 88;       // x code value
      e.altKey = true;     // Alt key pressed
      $("input").trigger(e);
   });
  </code></pre>
  
  <p>How do I add space keycode?</p>