26
给下来框新增一个option
var newopt =new option(text,value,false,false); select.options[select.options.length] = newopt;
var ooption = document.createelement("option"); ooption.text="" ; ooption.value=""; select.add(ooption);
27
删除下拉框的某个option
select.options[i] = null;
select.options[i] = null;
select.options.remove(i);