<html>
<head>
<title>可输入的下拉框</title>
</head>
<body>
<div style="position:relative;">
<span style="margin-left:100px;width:18px;overflow:hidden;">
<select style="width:118px;margin-left:-100px" onchange="this.parentNode.nextSibling.value=this.value">
<option value="1">a</option>
<option value="2">b</option>
<option value="3">c</option>
</select>
</span>
<input name="box" style="width:100px;position:absolute;left:0px;">
</div>
</body>
</html>
可输入的下拉框
最新推荐文章于 2024-12-03 21:49:57 发布