each in div jquery code example
Example: jquery each
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});