//这样写没有效果 $(".xx").clcik(function(){····});
//改成这样写 $(document).on('click', '.xxx', function(e){ });