#id加属性选择器
$("#productType option[value='"+data.contractInfo.productType+"']").attr("selected","selected");
jsp页面标签选择器
最新推荐文章于 2024-05-24 00:34:26 发布
#id加属性选择器
$("#productType option[value='"+data.contractInfo.productType+"']").attr("selected","selected");