What's the value you see, within event.target ? (before the if).

--
Ariel Flesler
http://flesler.blogspot.com

On Mar 1, 12:47 am, Marc <sarse...@nbnet.nb.ca> wrote:
> Firefox v3.0.6
> Firebug v1.3.3
> jQuery v1.3.1
> Windows XP sp2
>
> I've been troubleshooting a strange behavior with my script. While
> tracing through the code I came across the fix() for jQuery.event. The
> particular code in question:
>
> -----
> if ( !event.target)
> event.target = event.srcElement || document; // Fixes #1925 where
> srcElement might not be defined either
> -----
> I set a watch using Firebug on event.target and it is definitely set
> to a value prior to the conditional test. Also, watching on the !
> (event.target) evaluates to false. Yet when I continue stepping
> through the code it executes the line event.target = ...
>
> Am I missing something?
>
> Thanks,
>
> Marc
--~--~---------~--~----~------------~-------~--~----~
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