请选择11112222333344445555 [javascript] view plain copy $("#select_id option[value='1']").removeAttr("selected");根据值去除选中状态$("#select_id option[value='"+msg.data.categoryId+"']").attr("selected","selected");根据值让option选中