how to get value of array index in jquery each method 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()}