[英]how to use combination of alert msg and response.redirect in ASP
I want to use the combination of alert box msg and also the response.redirect in ASP language. 我想结合使用警报框msg和ASP语言中的response.redirect。 As my below code doesn't work.
由于我下面的代码不起作用。 Please help, Thanks.
请帮忙,谢谢。
<script language="javascript">
<!--
window.alert ("Please choose another Type of Redemption");
//-->
</script>
<% Response.Redirect("redeem_type.asp?cardno="&BlinkCard&" ") %>
Response.Redirect
commands are used to send the user to another URL instead of the page they have landed on, without sending any HTML content. Response.Redirect
命令用于将用户发送到另一个URL,而不是他们登录的页面,而不发送任何HTML内容。
You need to put your URL into something like a button, so the user sees your first message and then clicks "Next" or something that will then take them to the page you want to send them to. 您需要将URL放入按钮之类的内容中,以便用户看到您的第一条消息,然后单击“下一步”,或将其带到您想要发送给他们的页面上的内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.