//one $('.class').on("click",function(){ alert('one') }); //相当于$('.class').bind("click",function(){……}); //two $(document).on("click",'.class',function(){ alert('two'); }); //相当于$('.class').live("click",function(){……});
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/17170.html