This answer tells which HTML elements can receive focus. Is there a jQuery selector that matches exactly these elements?
For now I\'m just using $(\'input,sele
$(\'input,sele
Another simple, but complete, jQuery selector could be this one:
$('a[href], area[href], input, select, textarea, button, iframe, object, embed, *[tabindex], *[contenteditable]') .not('[tabindex=-1], [disabled], :hidden')