eachindex exaple code example
Example: jquery loop through li elements
//looping through list elements in jquery
$('#myUlID li').each(function() {
console.log($(this));
})
//looping through list elements in jquery
$('#myUlID li').each(function() {
console.log($(this));
})