I have seen a couple of web sites that detail how to do this, but seem to be
overlooking the obvious.... I have the following code and have tried
variations to get it working;
<!--#INCLUDE FILE="CommonFunctions.inc"-->
<%
'following is vb script....
if not MyFunction(check_field) then 'This function is in the
include
DisplayError("this failed")
else
ContinueProcess 'This sub routine is
in the include
end if
sub DisplayError(iErr)
%>
<SCRIPT language="javascript">
alert( <%= iErr %>);
history.go(-1);
</SCRIPT>
<%
end sub
%>
I want to pass different messages to the displayerror function, but just
can't seem to make it work... Any ideas?