Home > Article > Web Front-end > js dynamically select drop-down box_javascript skills
for(var j=0;j
if(document.getElementById("Select" rowID).options[j].text==value[5])
index=j;
}
if(index>=0)
document.getElementById("Select" rowID).options[index].selected=true;