#id加属性选择器 $("#productType option[value='"+data.contractInfo.productType+"']").attr("selected","selected");