jquery loop through list element
snippet in javascript

jquery loop through list element

user215

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