Jquery window blur and focus on IE
<p>I am using jQuery to do the following</p>

<pre><code>$(window).bind("blur", function() {
    hasfocus = false;
  });

  $(window).bind("focus", function() {
    hasfocus = true;
  });
</code></pre>

<p>Works on Chrome and FF, but not on IE. When I click on any html element in an IE window, window blur gets invoked.</p>

<p>Does anyone have the same issue?</p>
