This code works on ie7, but it does not work on firefox.
it just shows a alert when focus occur on an element. you can just
click something on the page
and you will see alert at ie7.

var _focusedElement;
$(document).ready(function() {
   $("*").bind("focus", function(e) {
                                   alert(this.id);
                                   _focuedElement = this; }).bind
("blur", function(e) {

_focuedElement = null; });

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to