//select 指定顯示
functiondisplay(optionID,domID){
varall_options = document.getElementById(domID).options;
for(i=0;i
if(all_options[i].value == optionID)// 根據(jù)option標(biāo)簽的ID來進(jìn)行判斷? 測試的代碼這里是兩個(gè)等號
{
all_options[i].selected =true;
}
}
};
//select 指定顯示
functiondisplay(optionID,domID){
varall_options = document.getElementById(domID).options;
for(i=0;i
if(all_options[i].value == optionID)// 根據(jù)option標(biāo)簽的ID來進(jìn)行判斷? 測試的代碼這里是兩個(gè)等號
{
all_options[i].selected =true;
}
}
};