<!DOCTYPE html>
<html>
<body>
<table>
<tr>
<td>省</td>
<td>
<select onchange="fun()">
<option>北京</option>
<option>上海</option>
<option>廣州</option>
</select>
</td>
<td>
<select id="e">
<option>北京</option>
<option>上海</option>
<option>廣州</option>
</select>
</td>
</tr>
</table>
</body>
<script type="text/javascript">
function fun() {
var e = document.getElementById("e");
e.innerHTML = "<option>遼寧</option>";
}
</script>
</html>
操作option,不要操作innerHTML,ie9-不行
function fun() {
var e = document.getElementById("e");
e.options.length=0;
e.options.add(new Option('遼寧','option的value屬性'))
//e.innerHTML = "<option>遼寧</option>";
}