title: Overriding the F1 key in FF, chrome, ie. Is F1 on ie8/chrome on keyup and in FF on keypress? What about <tab> in an input field?
body: <p>I'm creating namespaced events with jquery.  When I use the following function with code=112, a function, bool=false, everything works fine in FF and the F1 key submits to my function and the event does not bubble up to open the firefox help in a new tab.</p>
  
  <pre><code>function bindKeyFunc(code, func, bool){
      $(document).bind('keypress.' + code, function(e){
          var c = (e.keyCode ? e.keyCode : e.which);
          //console.log(c);
          if ( code == c) {
              //e.stopPropagation();
              //e.preventDefault();
              func();
              return bool;
          }
      });
  }
  </code></pre>
  
  <p>In chrome and ie8 my event listener does not fire and the regular help occurs instead, even if I uncomment the stopPropagation and preventDefault calls.</p>
  
  <p>Similarly, when I try to take over the <code>&lt;tab&gt;</code> key for my own purposes, it works splendidly in FF but my event doesn't fire in chrome or ie8 and the default action for the tab fires instead:</p>
  
  <pre><code>    $('input#manual-total').bind('keypress.dep', function(e) {
          var code = (e.keyCode ? e.keyCode : e.which);
          if ( code==9 ){
              $('div#formset').show();
              $(next).focus()[0].select();
              return false;
          }
      });
  </code></pre>