Menu
Just curious about something. You can set the focus to elements, but can you determine what element HAS the focus. I.E. The cursor is in an input named input1. You click a button and call a function that knows that the focus was in input1 at the time of the click as opposed to the other elements(inputs etc) on the screen(form).
any thoughts would be appreciated. thanks in advance