1 $('#action_list > li').each(function(){ $(this).unbind('click') .bind('click', function(){ 2 /** some code*/ 3 }); 4 });