<div class="htmlarea"> <textarea id="runcode62577"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>可填可选的下拉框</title> <input type="text" style="width:180px; height:20px;margin-right:-5px;margin-top:-1px;border-right:0px" name="txt"> <div style="position:absolute;"> <select style="width:198px;margin-left:-180px" onchange="txt.value=this.value"> <option value="111">111</option> <option value="222">222</option> <option value="333">333</option> </select> </div> </textarea><br><input onclick="runEx('runcode62577')" type="button" value="运行代码"> <input onclick="doCopy('runcode62577')" type="button" value="复制代码"> <input onclick="doSave(runcode62577)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>