展开全部
<form id="form1" name="form1" method="post" action="">
<select name="b" id="b" onchange="this.form.a.value=this.value;">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<input name="a" type="text" id="a" />
</form>
<select name="b" id="b" onchange="this.form.a.value=this.value;">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<input name="a" type="text" id="a" />
</form>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询