Can anyone help?
I try to put all my function in a separate .ASP file
under scriptlib folder but when I call any function
from the such asp file do not work meanwhile
if I put the code inside the working asp works fine
explain:
mytools.asp
<%SCRIPT Language="vbscr ipt"%>
function abc(pParam)
abc = "OK"
end function
function xyz(pParam)
xyz = "NOT OK"
end function
Main ASP File
default.asp (Contains)
<%
<script language="vbscr ipt" scr=scriptlib/mytools.asp">
<font face="Verdana" size=1><%=abc(" GO")%>
</font>
</script>
%>
TIA
Jo
I try to put all my function in a separate .ASP file
under scriptlib folder but when I call any function
from the such asp file do not work meanwhile
if I put the code inside the working asp works fine
explain:
mytools.asp
<%SCRIPT Language="vbscr ipt"%>
function abc(pParam)
abc = "OK"
end function
function xyz(pParam)
xyz = "NOT OK"
end function
Main ASP File
default.asp (Contains)
<%
<script language="vbscr ipt" scr=scriptlib/mytools.asp">
<font face="Verdana" size=1><%=abc(" GO")%>
</font>
</script>
%>
TIA
Jo
Comment