简体   繁体   中英

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. 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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM