<SCRIPT>
function runEx(){
  var winEx=open();
winEx.document.open("text/html", "replace")
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value));
winEx.document.close();
}
</SCRIPT>
<TABLE width=400 border=0>
<TR><TD align=absBottom>
<IMG  src="http://blog.csdn.net/images/PoweredByAsp.Net.gif">代码片段如下:<BR><TEXTAREA style="WIDTH: 100%; BACKGROUND-COLOR: #ffffff" name=textfield rows=15>
</TEXTAREA><BR><INPUT οnclick=runEx() type=button value=运行此代码 name=Button>

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐