新人求助,关于Select动态赋值问题,下拉框的

2025年05月04日 20:33
有1个网友回答
网友(1):

New Document function change (){ var sel = document.getElementById('sel'); sel.options[0].value = 111; sel.options[0].text = 111; } 1 UPDATE 看看是不是你想要的效果,可以根据自己的需求修改一下。