网 事 如 风
星期一, 三月 05, 2007
textarea框运行代码
textarea框运行代码
<SCRIPT>
function run(){
{
str=test.value;
go=open('','运行','');
go.document.open();
go.document.write(str);
go.document.close();
}
}
</SCRIPT>
<TEXTAREA name=test rows=10 cols=60></TEXTAREA><BR>
<INPUT style="BACKGROUND-COLOR: rgb(150,255,150)" onclick=run() type=button value=运行>
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论