Tricky stuff, focus doesn't bubble so you can't watch it up top and
flag the target like you could with click...

I'd collect all elements that support the focus event, watch for it
and manage the reference of lastFocused to determine what the user is
currently focused on.



On Nov 19, 7:25 am, Jeztah <[EMAIL PROTECTED]> wrote:
> Is there a mthod on prototype or nativejs to work out what part of the
> document the user is focused on currently ?
>
> I am trying to iron out a bug in somehting and need to work out what
> element they are currently on (form/div/span etc etc)
>
> Regards
> Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to