$("div.manu a:last").on('click',function(){ if (page == totalPage) { return; } page = page + 1; search(page); });
通过on绑定click事件