如何动态改变列表框的值(增加或删除)
如题
------解决方案-------------------- <SELECT ID= "oSelect ">
<OPTION VALUE= "1 "> One </OPTION>
</SELECT>
<SCRIPT>
var oOption = document.createElement( "OPTION ");
oSelect.options.add(oOption);
oOption.innerText = "Two ";
oOption.value = "2 ";
</SCRIPT>