Why won’t live() work after slice()?
What am I doing wrong here?
$('.object').slice(1).live('mouseenter', function() {
alert();
});
…
<div class="object">
1
<div class="object">
2
<div class="object">
3
</div>
</div>
</div>
Straight from the API docs:
Use a different selector. For example: