有兴趣来看这一句代码??

mail_huyb 2001-07-31 10:54:05
response.write "<script language=javascript>alert('您给的价格太低了!')</script>"
response.redirect "a.asp"
为什么response.write "<script language=javascript>alert('您给的价格太低了!')</script>"不执行呢?或许执行了却看不出来,如何解决呢?
小弟想跳转到其他页面之前有个提示!
...全文
120 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
ExitWindows 2001-08-01
  • 打赏
  • 举报
回复
up
mail_huyb 2001-07-31
  • 打赏
  • 举报
回复
谢谢了!
yzflying 2001-07-31
  • 打赏
  • 举报
回复
response.write "<script language=javascript>alert('您给的价格太低了!')</script>"=====>
response.write"<script type=""text/javascript"">alert('您给的价格太低了!')</script>"
试一试。
tripofdream 2001-07-31
  • 打赏
  • 举报
回复
又错了
response.write "<script language=javascript>alert('您给的价格太低了!');"

response.write "window.location='a.asp';"

response.write "</script>"
tripofdream 2001-07-31
  • 打赏
  • 举报
回复
response.write "<script language=javascript>alert('您给的价格太低了!')"

response.write "window.location='a.asp';"

response.write "</script>"
mail_huyb 2001-07-31
  • 打赏
  • 举报
回复
to net_lover(孟子E章)
为什么出错了!
说缺少;?
gq 2001-07-31
  • 打赏
  • 举报
回复
那你就不要用response.redirect。它不允许这样使用。
function timeConflict(){
x=window.confirm("The time is conflict. Do you want to save the data?");
if (x==true) {
frmEvent.chkTime.value=1;
frmEvent.submit();
}else{ history.go(-1);
}
}
孟子E章 2001-07-31
  • 打赏
  • 举报
回复
response.write "<script language=javascript>alert('您给的价格太低了!')"

response.write "window.location='a.asp'"

response.write "</script>"
ExitWindows 2001-07-31
  • 打赏
  • 举报
回复
up
ExitWindows 2001-07-31
  • 打赏
  • 举报
回复
up

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧