Blair McKenzie schrieb:
> The target of a click is already available through 'this'.
> 
> Blair

No, not always. Consider the following structure:

<p><a href=""><em>Click</em></a></p>

If you attach a click event to the <p> element, this refers to that 
element, but the e.target is the <em> element.

May not be a common case but the distinction still exists and is useful 
sometimes.


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to