删除
var ddl = document.getElementById("ddlGroup"); for (var j = 0; j < ddl.options.length; j++) { if (ddl.options[j].value == "") { ddl.options.remove(j); break; } }
添加
var ddl = document.getElementById("ddlVoice"); ddl.options.add(new Option("text","value"));