var selectObj = document.getElementById('selectId');
selectObj.options.length = 0;//清空
var child = new Option('name','value');//创建子选项,第一个参数为选择项名称,第二个为值
selectObj.options.add(child);//添加
selectObj.options[index] = null;//删除
var selectObj = document.getElementById('selectId');
selectObj.options.length = 0;//清空
var child = new Option('name','value');//创建子选项,第一个参数为选择项名称,第二个为值
selectObj.options.add(child);//添加
selectObj.options[index] = null;//删除