var txb = document.getElementById("TextBox1"); //文本框的值
var drb = document.getElementById("DropDownList1");//下拉列表中的值
txb.value=drb.options[drb.selectedIndex].text; //所选中的值给了textbox
var drb = document.getElementById("DropDownList1");//下拉列表中的值
txb.value=drb.options[drb.selectedIndex].text; //所选中的值给了textbox
//改变值
<select id=s>
<option>1
<option>2
<option>3
<option>4
</select><input type=button οnclick="s.add(new Option('aa','aa'))" value=add>
<input type=button οnclick=s.remove(s.selectedIndex) value=delete>
<select id=s>
<option>1
<option>2
<option>3
<option>4
</select><input type=button οnclick="s.add(new Option('aa','aa'))" value=add>
<input type=button οnclick=s.remove(s.selectedIndex) value=delete>