I searched in this mailing list and other also bug tracker but cannot
find a discussion of this. There's no documentation for the live
method so I assume this is a bug.
Here's the simplest case
$(function(){
// this does not work
$(document.body).live('click',function(){
alert('works!');
});
// this doesn't either
$($('body')).live('click',function(){
alert('works!');
});
// this works
$('body').live('click',function(){
alert('works!');
});
});
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---