Menu
I have a Javascript function that runs on the KeyDown event of a page, i need to be able to determine which control on my form had/has the focus at the time the function executes, is this possible in Javascript?
Its not really appropriate that i bind the function to all the controls on the page/form, it kinda has to run on the KeyDown event of the page itself, but i ant seem to find a way to identify which control had the focus when a key was pressed…
Can anyone help or point me in the right direction?
Thanks in Advance