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