onfocusin/onfocusout cross-browser compatibility

Marty Sullivan <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <CAK7bDbJ4URA_e5NN2YJ2NSzyGxuPAZoB_BnMW8h6oCdDTDRzDQ@mail.gmail.com>
I am trying to use the onfocusin/out events. They work on IE, Webkit, and
Opera. They do not work in Firefox and mobile browsers. Has anyone found a
workaround for non-supporting browsers?

If there is no workaround, is there a way I can get which element has focus
in JavaScript? Or perhaps another useful event or event chain?

Right now I'm just giving inferred focus to an element if it is clicked but
there is no way to tell when the element loses focus..


[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.