1. 清空select的option项:selectElement.length=0;
2. 加入option:selectElement.add(new Option('文本','值'));
3. 删除option: selectElement.options.remove(optionIdx);
1. 清空select的option项:selectElement.length=0;
2. 加入option:selectElement.add(new Option('文本','值'));
3. 删除option: selectElement.options.remove(optionIdx);