jquery loop through li element
snippet in javascript

jquery loop through li element

user5201

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