Access Elements After Append
问题 I need to access DOM elements after JQuery append. Let's say I have this: <ul id="items"> <li class="item">one</li> <li class="item">two</li> </ul> Then is Javascript: var addItems = function(html) { $('#items').append(html); //How do I access the new items here? } Let's say that html is: <li class="item">three</li> <li class="item">four</li> I need to do something to the two new items. This something includes binding events to them. So I cannot simply use $('.item') because that will add