摘要: $(document).on("click",".js-story-title,.js-mt-index-cont2",function () {} 阅读全文
posted @ 2017-07-14 01:15 惊沙男孩 阅读(217) 评论(0) 推荐(0)
摘要: 1、$(ele)才是each真正的jquery对象,而不是ele。$('.mt-story-info').each(function(index,ele){ if($('.mt-story-info').length <= 10){//10是每次加载的条数 Expansion($(ele)); }e 阅读全文
posted @ 2017-07-14 00:27 惊沙男孩 阅读(778) 评论(0) 推荐(0)