Ask a Question related to ASP, Design and Development.
-
niv #1
calling functions
how do i call a vbscript function (which is between <%%>)
from a vbscript script function (which is between script
tags-<script language="vbscript"></script>, and how do the
argument are reffered/transfered?
the code goes like this:
<%function LegalCatNum(num)
if....then
LegalCatNum=true
else
LegalCatNum=false
end if
end function %>
<script language="vbscript">
function XY
if LeaglCatNum(arg) then <--this line is the problem
else ....
end if
end function
</script>
thanks a lot in advance
niv
niv Guest
-
Calling other functions
All, Using .NET 1.1, I have built a custom control, however I am having trouble compiling it. For the on click event of the button, I want it to... -
Calling functions from main.asc
hi all, i'm new to flash com server ... made the following example to explain what i'm trying to do... the bottom line is that i want to forexample... -
calling functions with include
suppose i have... <?php include("common_functions.php"); fxn1(); fxn2(); ?> i want fxn1 and fxn2 to be on the common_functions.php page,... -
Calling functions between frames...
JavaScript can not run on server side. You can include it in the output of your PHP script. "Albert Finchly" <Albert_Finchly@Yahoo.co.uk>... -
Calling functions?
Hello, I wrote a jscript function within the HTML window of my webpage and would like to call it from inside the ASPX code-behind page. Any... -
Ken Schaefer #2
Re: calling functions
You can't do that per se.
<% ' This code is run on the server %>
<script language="vbscript">
' This code is run on the client
</script>
You can't call server-side code from a client-side function, because by the
time the page has been delivered to the client, the server has forgotten all
about the page.
Cheers
Ken
"niv" <aviniva1@012.net.il> wrote in message
news:1e7001c33ecc$b3044d80$a601280a@phx.gbl...
: how do i call a vbscript function (which is between <%%>)
: from a vbscript script function (which is between script
: tags-<script language="vbscript"></script>, and how do the
: argument are reffered/transfered?
: the code goes like this:
: <%function LegalCatNum(num)
: if....then
: LegalCatNum=true
: else
: LegalCatNum=false
: end if
: end function %>
: <script language="vbscript">
: function XY
: if LeaglCatNum(arg) then <--this line is the problem
: else ....
: end if
: end function
: </script>
:
: thanks a lot in advance
: niv
Ken Schaefer Guest



Reply With Quote

