I think this is a bug, will check this now.

Cheers

On Sun, Feb 22, 2009 at 5:21 PM, John Resig <[email protected]> wrote:
> I think that may be acceptable. Going to CC Ariel in to see if he has
> any thoughts.
>
> --John
>
>
>
> On Sun, Feb 22, 2009 at 2:19 PM, xwisdom <[email protected]> wrote:
>>
>> Hello,
>>
>> when using the live() function I found out that e.currentTarget is not
>> equal to "this". Is this the expected behaviour?
>>
>> Sample code:
>>
>>  $(document).ready(function(){
>>        $('div a').live('click',function(e){
>>                alert(e.currentTarget);
>>                alert(this);
>>        })
>>  });
>>
>>  <div class="menu">
>>       <a href="#">Home</a>
>>  </div>
>> >>
>>
>



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

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

Reply via email to