Could you check out this example I created and let me know if that was
your intended effect? I'm still not entirely certain I'm grasping
everything you're trying to do. Basically, you have an initial list.
You want the image in each one to fade in/out when the link is
hovered. You then want to be
Hi Shane,
thanks for the reply!
What you recommend seems to be rebinding the functionality to the
latest appended list-item. Which of course would work just fine, but
the question is, how can I do this with event delegation (which
watches for new elements within the ul)?
And it's also the hover
The way the post initially reads, it seems that when you're appending
the ul with an li, the anchor within it does not have the click
function bound to it. Is that correct? If so, when you add the li you
would need to bind the click function to the newly created anchor.
Something like this should
3 matches
Mail list logo