how to loop through a tag and check string jquery code example
Example 1: jquery each
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
Example 2: jqery each from string html
$(response).find('div.product-review')