765427457

导航

jquery each

$("div").each(function(i){

console.log(i+"+DIV"+$(this).html())

})                 

function里的i每次循环都会+1

posted on 2019-09-18 21:55  765427457  阅读(87)  评论(0)    收藏  举报