应该是细节上出了毛病:
<script language="javascript">
function addNew()
{
var addelement=document.getElementById("select1");
addelement.options.add(new Option("1","1"),0);
}
</script>
<select id="select1">
<option>C#</option>
<option>Java</option>
<option>C++</option>
<option>VB.Net</option>
<option>Ajax</option>
</select>
<input type="button" value="向列表中添加新元素" onclick="addNew()">
習慣瞇醉,禧歡跟上帝窷兲,像变澀龙般虚伪,如气候那样善变.人脸背后流淌着恶魔的血,一路向前,猦猦癫癫.