KLC
0
Q:

jq each loop

$( "li" ).each(function( index ) {
  console.log( index + ": " + $( this ).text() );
});
12
	$( "div" ).each(function( index ) {
		//console.log( index )
	    modal_desc = $(this).length;
	    if(modal_desc > 20){
	    	//code
	    }
	});
2
$( "li" ).each(function( index ) {
  console.log( index + ": " + $( this ).text() );
});
2

New to Communities?

Join the community