title: Executing keyboard command via jQuery
body: <p>I want to execute the command ctrl + 0 on page load. Here is what I have so far:</p>
  
  <pre><code>$( document ).ready(function() {
      var press = jQuery.Event("keypress");
      press.ctrlKey = true;
      press.which = 48;
      trigger(press);
  });
  </code></pre>
  
  <p>This is not firing ctrl+0 and is also breaking another div on the page.</p>
  
  <p>What am I doing wrong and how do I fix it?</p>