*数组a,下拉选择框id为select1
清空option 只保留第一个
$("#select1").find("option").not(":first").remove()
或者
$("#select1").find("option:not(:first)").remove();
或者
$("#select1 option:not(:first)").remove();
遍历数组 新增option
for(var i=0;i<a.length;i++){
$("#select1").append("<option value='"+a[i]+"'>"+a[i]+"</option>");
}