title: Focusout event loop
body: <p>I've got a problem. I'm using jQuery 1.8.2. I want to react to a focusout event and reset the foucs to the element that was left under special conditions. Now i got this really simple codesnippet which gets caught in a loop in safari and I don't get it why this happens... Maybe you can help me, here's a really simple example: </p>
  
  <p>JS:</p>
  
  <pre><code>$("#test").focusout( function () {
      alert("FocusOut event got triggered.");
      $("#test").focus();
  });​
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input type="text" id="test" /&gt;​
  </code></pre>
  
  <p>Maybe you want to try this demo:
  <a href="http://jsfiddle.net/ds38v/3/" rel="nofollow">http://jsfiddle.net/ds38v/3/</a>  Just click into the input-box and leave it again.</p>