title: Fire event on Control+C, but still allow copy
body: <p>I'm trying to run some code when the user presses control+c on a webpage, but I still want that key action to copy whatever the user has selected. With my current code, only the events I write actually happen and the default action is ignored.</p>
  
  <p>Is this possible? Here's the code I'm using:</p>
  
  <p>Code for control key functionality</p>
  
  <pre><code>$.ctrl = function(key, callback, args) {
      var isCtrl = false;
      $(document).keydown(function(e) {
          if(!args) args=[]; // IE barks when args is null
  
          if(e.ctrlKey) isCtrl = true;
          if(e.keyCode == key.charCodeAt(0) &amp;&amp; isCtrl) {
              callback.apply(this, args);
              return false;
          }
      }).keyup(function(e) {
          if(e.ctrlKey) isCtrl = false;
      });
  };
  </code></pre>
  
  <p>Code for Control+C:</p>
  
  <pre><code>$('input').click(function(){
      $(this).addClass('selected');
      $(this).focus();
      $(this).select();
  });
  
  $('input').blur(function(){
      $('input.selected').removeClass('selected');
  });
  
  $.ctrl('C', function() {
      if( $('input.selected').length != 0 )
      {
          alert("Saved");
      }
  });
  </code></pre>