title: How not to lose focus on a login page
body: <p>I have a simple login form with 2 input fields: "username" and "password".
  "username" field is focused by default. The problem is that when user clicks outside "username" or "password" fields, the focus is gone (it is neither on "username" nor on "password" fields"). How can I force the focus to be on these 2 fields only ? </p>
  
  <p>In my case, this is a really annoying behavior, so I really want to do this :)</p>
  
  <p>Can I do something like:</p>
  
  <pre><code>$("*").focus(function() {
      if (!$(this).hasClass("my_inputs_class")) {
          // How to stop the focusing process here ?
      }
  });
  </code></pre>
  
  <p>?</p>