title: How to select an element that has focus on it with jQuery
body: <p>How can you select an element that has current focus?</p>
  
  <p>There is no <code>:focus</code> filter in jQuery, that is why we can use something like this:</p>
  
  <pre><code>$('input:focus').someFunction();
  </code></pre>