$("input[name=youhuixingshi]").click(function(){ $(":checkbox[name=youhuixingshi]").not($(this)).removeAttr("checked"); })