select 同时传送两个值
? <form action="" method="get">
??
???? <input type=text name=id value="">
???? <input type=text name=code value="">
????? ?
????? <select onchange="this.form.id.value=this.value;
??????????this.form.code.value=this.options[this.selectedIndex].text;">
???????? ?
???????? <option value="123">aaa</option>
???????? ?<option value="456">bbb</option>
???????? ?<option value="789">ccc</option>
????? </select>
?
</form>