[jQuery] click function on anchor element
Hi all,
I'm confused as to why when I have:
$('a').click(function(){
alert(this);
return false;
});
the alert displays the URL defined in the href attribute, and not an
object.
Yet, if i call like say an image, it returns the object.
Thanks
ben