jquery loop through li elements
snippet in javascript

jquery loop through li elements

user5179

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