jquery loop through list elements
snippet in javascript

jquery loop through list elements

user2479

//looping through list elements in jquery
$('#myUlID li').each(function() {
  console.log($(this));
})