Hi,
I have a mail script and I want a javascript box to pop up saying "An email has been sent you should get it in 5 to 10 minutes" and then do a redirect.
Unfortunately it redirects without displaying the alert box.
<script>
alert("An email has been sent to you and should be with you in the next five or ten minutes")
</script>
<%
URL="../index.asp?TheMonth=" & TheMonth & "&TheYear=" & TheYear & "&CategoryCode=" & CategoryCode
Response.Redirect(URL)
%>
I thought about some kind of confirm box but I only want it to have an OK button not Cancel.
Is this possible or am I better of redirecting to a confirmation screen done in plain HTML with a link on that goes back to ../index.asp?
Thanks very much
Ed
I have a mail script and I want a javascript box to pop up saying "An email has been sent you should get it in 5 to 10 minutes" and then do a redirect.
Unfortunately it redirects without displaying the alert box.
<script>
alert("An email has been sent to you and should be with you in the next five or ten minutes")
</script>
<%
URL="../index.asp?TheMonth=" & TheMonth & "&TheYear=" & TheYear & "&CategoryCode=" & CategoryCode
Response.Redirect(URL)
%>
I thought about some kind of confirm box but I only want it to have an OK button not Cancel.
Is this possible or am I better of redirecting to a confirmation screen done in plain HTML with a link on that goes back to ../index.asp?
Thanks very much
Ed