[CODE]<script language="javascript">
function show1(obj,upr,txt)
{
obj.zhi.value= upr;
obj.wenben.value=txt;
}
</script>
<form name="form1" method="post" action="3.asp">
<select name="xh" onChange="show1(document.form1,this.value,this.options[this.selectedIndex].text)">
<option value="">请选择</option>
<option value="值1">文本1</option>
<option value="值2">文本2</option>
<option value="值3">文本3</option>
</select>
<input type="text" name="zhi">
<input type="text" name="wenben">
<input name="" type="submit" value="up">
</form>[/CODE]