<div class="htmlarea"> <textarea id="runcode93001"> <script language="javascript"> function colors(color){ document.form1.id.style.color=color; } </script> <form action="" name="form1" method="post"> <input type="text" name="id" value="脚本之家-www.jb51.net"> <select name="coid" onchange="colors(this.value)"> <option value="red">红色</option> <option value="green">绿色</option> </select> </form> </textarea><br><input onclick="runEx('runcode93001')" type="button" value="运行代码"> <input onclick="doCopy('runcode93001')" type="button" value="复制代码"> <input onclick="doSave(runcode93001)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>