I am having difficulty getting this to work. I am executing a stored procedure in a function and if there is an error, I would like to open a popup window with the error message. I am trying to do the following after the function call.
The error that I am getting is that I am missing a "
", but I can't seem to find where.
<%
if retval > 0 then
dim msg
msg="An error occurred"
Response.Write("<SCRIPT>window.open('error.asp?msg='" & msg & "','ErrorPage','WIDTH=635,HEIGHT=400,scrollbars=no,resizable=no,status=yes')</SCRIPT>"
end if
%>
Thanks regards,
Brian
The error that I am getting is that I am missing a "
<%
if retval > 0 then
dim msg
msg="An error occurred"
Response.Write("<SCRIPT>window.open('error.asp?msg='" & msg & "','ErrorPage','WIDTH=635,HEIGHT=400,scrollbars=no,resizable=no,status=yes')</SCRIPT>"
end if
%>
Thanks regards,
Brian