Possible Duplicates:
How to get input has focus or not using jquery
Using jQuery to test if an input has focus
Hi i want to test Input tag has focus or not using jquery
if(document.getElementById('Department').focus())
I am using. but it will not work it will always give me false. Please help me to solve this