给你一个代码:
<FORM
name="form" >
<input name="fd" size="5" style="color: #FF0000" ><select name="f668" onChange="(document.form.fd.value=this.options[this.selectedIndex].value)"
size="1">
<option selected>选</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></FORM>