title: How can I check if a key is pressed during the click event with jQuery?
body: <p>I would like to catch a click event with jQuery and be able to tell if a key was pressed at the same time so I can fork within the callback function based on the keypress event.</p>
  
  <p><strong>For example:</strong></p>
  
  <pre><code>$("button").click(function() {
      if([KEYPRESSED WHILE CLICKED]) {
          // Do something...
      } else {
          // Do something different...
      }
  });
  </code></pre>
  
  <p>Is this possible at all or how can it be done if it is possible?</p>