在线调试服务端js代码的asp源码
<%@language="javascript" codepage="936"%><html><head>
<title>Asp Test</title>
</head><body scroll="auto">
<%if (Request.ServerVariables("REQUEST_METHOD").Item == "POST")
{
var svrInfo = "代码执行成功";
try
{
eval(Request.Form("Code").Item);
}
catch(err)
{
svrInfo = err.message;
}
Response.Write("<div>" svrInfo "</div>");
}
else
{%><table width="100%" height="100%" style="table-layout:fixed">
<form method="post" target="RunCode">
<tr><td height="45%">
<textarea rows="15" name="Code" style="width:100%;height:100%"></textarea>
</td></tr>
<tr><td align="center" height="30"><input type="submit" />
</td></tr></form>
<tr><td>
<iframe frameborder="0" width="100%" height="100%" name="RunCode"></iframe>
</td></tr></table>
<%}%></body></html>
您可能感兴趣的文章:
asp脚本查询超时的处理函数
在线调试服务端js代码的asp源码
有关微软新一代开发技术ASP 的介绍
ASP与JSP的比较(一)
ASP 全新接触(1)
asp和php哪个好?
ActiveX 组件
Active Server Pages + 介绍
asp简介和五大内置对象
phpstorm xdebug远程调试服务器PHP代码