📜  jquery each get index - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:04.905000             🧑  作者: Mango

代码示例3
$('.testimonial').each(function(){
    //if statement here 
    // use $(this) to reference the current div in the loop
    //you can try something like...
    if(condition){
    }
 });