JS 根据DropDownList的Text选中某一项

var DropDownListCurrencyNew 
    
=  document.getElementById('DropDownListCurrencyNew');
for(i = 0; i < DropDownListCurrencyNew.options.length; i++)
{
    
if(DropDownListCurrencyNew.options[i].text == arrayValue[6])    
           {
               DropDownListCurrencyNew.options[i].selected 
= true
        }

}
;
原文地址:https://www.cnblogs.com/songsh96/p/680194.html