<HTML> <HEAD> <META http-equiv='Content-Type' content='text/html; charset=gb2312'> <TITLE>可输入的下拉框</TITLE> <mce:script type="text/javascript"><!-- function todo() { alert(box.value); } // --></mce:script> </HEAD> <BODY > <div style="position:relative;" mce_style="position:relative;"> <span style="margin-left:100px;width:18px;overflow:hidden;"> <select style="width:118px;margin-left:-100px" οnchange="this.parentNode.nextSibling.value=this.value" id="s1"> <option value="www.souzz.net"> souzz </option> <option value="www.eWebSoft.com"> eWebSoft </option> <option value="WEB开发者"> WEB开发者 </option> </select></span><input name="box" id="box" style="width:100px;position:absolute;left:0px;"> </div> <input type="button" onClick="todo()"> </BODY></HTML>