<select name="select" style="position:absolute; left: 197px; top: 80px; width: 120px; height: 22px; clip: rect(0 120 22 100)" id="select" onchange="javascript:document.getElementById('clientUser').value=this.options[select.selectedIndex].text;clientUser.select()">
<option value="1" selected>aaaaaa</option>
<option value="2">bbbbb</option>
</SELECT>
<input type="text" style="position:absolute; left: 197px; top: 80px; width: 100px; height: 22px" name="clientUser" id="clientUser" value="请选择二批名称" onfocus="this.select();">
<input type="text" name="tt" id="tt" onfocus="this.select()"/>
<input type="button" value="点我" onclick="javascript:document.getElementById('tt').select()"/>
即可编辑又可选的下拉列表框
最新推荐文章于 2024-10-17 10:08:04 发布