title: How to detect that Ctrl+R was pressed?
body: <p>I'm coding a function in jquery that executes if <kbd>Ctrl</kbd>+<kbd>R</kbd> is pressed but I can't seem to find out what the left and right ctrl keycodes are... Can someone please help?</p>
  
  <p>UPDATE</p>
  
  <pre><code>    ///this works
      $(document).keydown(function(e){
        if(e.keyCode==17){alert("control was pressed")};
   });
  </code></pre>
  
  <p>Next Question--
  How do I link control key press and another key press to execute a function?</p>
  
  <pre><code>  if(e.keyCode==17){llCtrlPress=1};
     if(e.keyCode==97 &amp;&amp; llCtrlPress=1){DO SOMETHING}
    ????????????
  </code></pre>
  
  <p>That seems like it would work fine but then how do I set llCtrlpress back to '0' on keyup?</p>