<script language="javascript">
function A(){
document.getElementById('box').value=
document.getElementById('SS').options[document.getElementById('SS').selectedIndex].value;
}
</script>
<html>
<body>
<div style="position:relative;">
<span style="margin-left:100px;width:0px;overflow:hidden" >
<select style="width:118px;margin-left:-100;height:25px" οnchange="A()" id="SS" name="SS">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</span>
<input name="box" id="box" style="width:100px;position:absolute;left:0px;height:25px">
</div>
</body>
</html>
通过布局来实现下拉框的select与Input功能;
通过document.getElementById('box').value= document.getElementById('SS').options[document.getElementById('SS').selectedIndex].value,实现下拉框的值传参到Input里去。