Click to See Complete Forum and Search --> : msgbox


Chicken
July 13th, 2001, 03:22 AM
I'm trying to use msgboxes to give messages to the user, but explorer constantly gives me the error that the accec is denied to msgbox.. Can anybody help me??

Gerbrand,

jayDePro
August 13th, 2001, 02:45 PM
I dont know in which case you need msgbox.

But anyway in ASP pages if you are doing server side validations etc and want to generate the message box you can do like this:

<%
str1=request.from("searchtxt")

if str1="" then
%>
<script> alert("Trying to Search Empty?"); </script>

<%
else
%>
<script> alert("Search Request is OK"); </script>

<%
end if
%>


JayDePro