Web browser - redirecting F1 (doesn't work always)
<p>I'm using <code>jQuery</code> for redirect <code>F1-F10</code> keys in web browser (MFF or chrome):</p>

<pre><code>$('*').live("keydown", function(e) {
  if (e.keyCode == 112) 
  {
    document.getElementById('form:f1').click();
    return false;
  }
});
</code></pre>

<p>So, when I press <code>F1</code>, instead of browsers own <code>HELP</code> the button with ID <code>form:f1</code> is fired. 
And <strong>it works properly, but sometimes not</strong>. </p>

<p>E.g. 10 times I start the web app (browser) and redirecting is working properly, and at the 11th start of the browser, it doesn't work suddenly and I have to restart browser.</p>

<p>All other <code>javascript</code> or <code>jQuery</code> functions are working always, but redirecting doesn't. </p>

<p>Don't you know where could be the problem?</p>
