title: jquery keypress event for cmd+s AND ctrl+s
body: <p>Using one of the examples from a previous question I have:</p>
  
  <pre><code>$(window).keypress(function(event) {
      if (!(event.which == 115 &amp;&amp; event.ctrlKey) &amp;&amp; !(event.which == 19)) return true;
      $("form input[name=save]").click();
      event.preventDefault();
      return false;
  });
  </code></pre>
  
  <p>Is it also possible to change this to work for the Mac cmd key? </p>
  
  <p>I have tried <code>(!(event.which == 115 &amp;&amp; (event.cmdKey || event.ctrlKey)) &amp;&amp; !(event.which == 19))</code> but this didn't work. </p>