each array jqueyr code example
Example 1: jquery loop over elements
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
Example 2: $.each( function(key value){$get()}
$.each( function(key value){$get()}
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
$.each( function(key value){$get()}