<div class="htmlarea"><textarea id="runcode88930"> <textarea rows="1" cols="40" style="overflow:scroll;overflow-y:hidden;;overflow-x:hidden" onfocus="window.activeobj=this;this.clock=setInterval(function(){activeobj.style.height=activeobj.scrollHeight+'px';},200);" onblur="clearInterval(this.clock);"> </textarea><br><input onclick="runEx('runcode88930')" type="button" value="运行代码"> <input onclick="doCopy('runcode88930')" type="button" value="复制代码"> <input onclick="doSave(runcode88930)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</textarea></div> <br><br>随着输入内容的增加,会自动增加行数。