Forums

ASP

This topic is locked

Error Alert or Pop on Load

Posted 17 Nov 2002 17:49:45
1
has voted
17 Nov 2002 17:49:45 jim mccann posted:
I wish to display an alert error on page load, but only if a query sting passes an Error. Can someone help?
<%
If Request.QueryString = "Error" then
Dislpay a pop window here
End if
%>

Replies

Replied 19 Nov 2002 18:49:41
19 Nov 2002 18:49:41 Dave Blohm replied:
like so...

<%If Request.QueryString = "Error" Then %>
<script Language ="JavaScript">
alert('your error message goes here...');
</script>
<% End If %>

Hope this helps...

Doc
Rangewalk Digital Studios

Reply to this topic