How to select an element that has focus on it with jQuery
Posted
by jQuery Lover
on Stack Overflow
See other posts from Stack Overflow
or by jQuery Lover
Published on 2009-02-05T14:37:27Z
Indexed on
2010/06/11
5:02 UTC
Read the original article
Hit count: 231
How can you select an element that has current focus?
There is no :focus
filter in jQuery, that is why we can use something like this:
$('input:focus').someFunction();
© Stack Overflow or respective owner