$("#<%=DDLCounty.ClientID%> option").each(function () {
if ($(this).text() == $("#<%=HFCounty.ClientID%>").val()) {
$(this).attr("selected", true);
}
});
转载于:https://www.cnblogs.com/itdaocaoren/p/5770151.html