jQuery: is an element in focus? [duplicate]
Possible Duplicate:
Using jQuery to test if an input has focus
I have an input element, and I'd like开发者_运维技巧 to ask if it is currently in focus without modifying what is already in focus.
This can be tricky to determine sometimes, but here is an answer that should help:
Using jQuery to test if an input has focus
精彩评论