📜  jq 每个循环 - Javascript 代码示例

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

代码示例3
$( "div" ).each(function( index ) {
        //console.log( index )
        modal_desc = $(this).length;
        if(modal_desc > 20){
            //code
        }
    });