$('.seeMoreProduct').click(function(){ var seeMoreIndexNum = ($('.seeMoreProduct').index($(this))); }); var $newDesignSection = $('#designer_detail_con'); if($(".designer_ul").length > 0) { $(".designer_ul").on("click",".ui_scroll_con > li",function(){ var $this = $(this); $.ajax({ url: $this.attr('dataUrl'), dataType: 'html', success: function(data){ $newDesignSection.html(data); } }); }).find('.designer_List').eq(seeMoreIndexNum).click(); } 希望能做获取到seeMoreIndexNum的值,('.designer_List').eq(seeMoreIndexNum)这里获取不到
添加回答
举报
0/150
提交
取消