获取select对象:
var objSelect = document.getElementById("ID");
然后把objSelect对象和value值作为参数传递给方法做判断:
function jsSelectIsExistItem(objSelect,objItemValue){
var isExist = false ;for ( var i=0;i<objSelect.length;i++)
{
if (objSelect[i].value == objItemValue)
{
isExist = true ;
break ;
}
}
return isExist ;
}