Reputation: 7734
I want to dynamically show first 5 elements from an appended list. I tried this but it isn't working:
$(this).find("element").each(['1','2','3'], function (){...
$("#rounded_items").append('<li id="'+ level +'"><div class="item_pocket"><img src="'+ image +'" class="image"/><span>'+ name +'</span></div></li>')
Upvotes: 0
Views: 110