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