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;
}
};
= document.getElementById('DropDownListCurrencyNew');
for(i = 0; i < DropDownListCurrencyNew.options.length; i++)
{
if(DropDownListCurrencyNew.options[i].text == arrayValue[6])
{
DropDownListCurrencyNew.options[i].selected = true;
}
};