if(countview > 500000)
{
Response.Write("<script language=javascript>");
Response.Write("if (confirm('You chose a large amount query!\\r\\nAre you sure to continue?')!='0'){");
Response.Write("top.location.href('../Output/OutputFram.htm')");
Response.Write("}else{");
Response.Write("top.location.href('../Query/QueryFrame.htm')");
Response.Write("}");
Response.Write("</script>");
}
我把Response.Write("top.location.href('../Output/OutputFram.htm')");改为
Response.Write("Createview(dbname,strsql,maintable)");Createview 是我写好的方法!!!
但不能执行,请教各位大侠不能在javascript中嵌套一个写好的方法吗?
{
Response.Write("<script language=javascript>");
Response.Write("if (confirm('You chose a large amount query!\\r\\nAre you sure to continue?')!='0'){");
Response.Write("top.location.href('../Output/OutputFram.htm')");
Response.Write("}else{");
Response.Write("top.location.href('../Query/QueryFrame.htm')");
Response.Write("}");
Response.Write("</script>");
}
我把Response.Write("top.location.href('../Output/OutputFram.htm')");改为
Response.Write("Createview(dbname,strsql,maintable)");Createview 是我写好的方法!!!
但不能执行,请教各位大侠不能在javascript中嵌套一个写好的方法吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货