title: jQuery Prevent Default Action Function Keys (F3, F4, etc.)
body: <p>I have this extremely basic example here: <a href="http://jsfiddle.net/arhVd/1/" rel="nofollow noreferrer">http://jsfiddle.net/arhVd/1/</a></p>
  
  <pre><code>&lt;form&gt;
    &lt;input type="text"&gt;
    &lt;input type="submit"&gt;
  &lt;/form&gt;
  
  $(function () {
  
      $(document).keydown(function(e) {
  
          e.preventDefault();
  
          $('form').submit();
      });
  });
  </code></pre>
  
  <p>I want to ensure that when pressing F4 it does not do the built in browser function (in F4's case set focus to the URL bar.  Or perhaps F3 showing the 'Find' bar.)  The functionality of submitting the form still works, I just don't want the browser functionality getting in the way.</p>
  
  <p>This is for an internal app where the function keys are supposed to function has HotKeys in the app.</p>