>> I wanted to add the normalization for e.target as discussed earlier. 
>> But I came across a strange bug in Firefox. Have a look at the following
page:
>>
>> http://stilbuero.de/demo/jquery/etarget.html
>>
>> If you click on the link the target of the click event (attached to 
>> <p>) is alerted. In that case it is an <strong> element, but Firefox 
>> reports an HTMLSpanElement. Safari is ok.

> Intertesting.  If I change your alert to
> alert(e.target.tagName);
> then I see STRONG.

I am guessing that FF must treat a <strong> tag like a styled span, which
makes sense. Also notice that if you click to the right of the link, the
alert shows HTMLParagraphElement.



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to