1 $('#action_list > li').each(function(){ $(this).unbind('click') .bind('click', function(){ 2 /** some code*/ 3 }); 4 });
1 $('#action_list > li').each(function(){ $(this).unbind('click') .bind('click', function(){ 2 /** some code*/ 3 }); 4 });
转载于:https://www.cnblogs.com/iack/p/3502601.html