title: How to test elemnt has focus or not
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/6703862/how-to-get-input-has-focus-or-not-using-jquery">How to get input has focus or not using jquery</a><br>
    <a href="https://stackoverflow.com/questions/967096/using-jquery-to-test-if-an-input-has-focus">Using jQuery to test if an input has focus</a>  </p>
  </blockquote>
  
  
  
  <p>Hi i want to test Input tag has focus or not using jquery</p>
  
  <p><code>if(document.getElementById('Department').focus())</code> </p>
  
  <p>I am using. but it will not work it will always give me false.
  Please help me to solve this</p>