Assign value to select drop-down box in html

 

 var cycles2 = document.getElementById('addcycle2'); select the name of
     cycles2.options[cycles2.selectedIndex].innerHTML =node.cycle; to assign a value

Thank you very much for the original author rideau   link: https://www.xuebuyuan.com/482510.html

Guess you like

Origin blog.csdn.net/admin123404/article/details/108104547