foreach jquert code example
Example 1: for each loop class jquery
$('.testimonial').each(function(i, obj) {
//test
});
Example 2: jq each loop
$( "div" ).each(function( index ) {
//console.log( index )
modal_desc = $(this).length;
if(modal_desc > 20){
//code
}
});