How to element with focus using jquery

How to element with focus using jquery

Hi, 

I have an input box with an id.
I also have a jquery hotkey plugin which fires when i press F8 in this case.

$(document).bind('keydown', 'f8', function (){
//do stuff here
return false; 
});

The hotkey works just fine. (ive tested with alert boxes)

What I am trying to do is find the cursor location (and then the elements id) when the f8 key is pressed.

or...

I want to find which input has focus on keydown.

Any genius ideas welcome.