代码如下: var count=$(“#drpCity option”).length; //查找城市 for(var i=0;i<count;i++){ var vTmp=$(“#drpCity”).get(0).options[i].value; if($.trim(vTmp)==vDpoizone){ $(“#drpCity”).get(0).options[i].selected = true; $(“#drpCity”).trigger(“change”); break; } } }