![](/img/trans.png)
[英]alert followed by a Response.Redirect() doesn't shoot the alert msg
[英]how to use combination of alert msg and response.redirect in ASP
我想结合使用警报框msg和ASP语言中的response.redirect。 由于我下面的代码不起作用。 请帮忙,谢谢。
<script language="javascript">
<!--
window.alert ("Please choose another Type of Redemption");
//-->
</script>
<% Response.Redirect("redeem_type.asp?cardno="&BlinkCard&" ") %>
Response.Redirect
命令用于将用户发送到另一个URL,而不是他们登录的页面,而不发送任何HTML内容。
您需要将URL放入按钮之类的内容中,以便用户看到您的第一条消息,然后单击“下一步”,或将其带到您想要发送给他们的页面上的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.