jquery loop all elements with class

86

jquery loop all elements with class -

$('.testimonial').each(function(i, obj) {
    //test
});

jquery loop over elements -

$( "li" ).each(function( index ) {
  console.log( index + ": " + $( this ).text() );
});

Comments

Submit
0 Comments