Possible Duplicate:
How to select an element that has focus on it with jQuery
I have several HTML elements on the page. I want to write a JQuery code the tells me which element has the focus. I doesn't whether the element gets the focus because I clicked it or I used the tab key. The most important think is that it tells me which element has the focus
$(document).ready(function () {
});
Thank for helping