Take the following, for example:
<% @LANGUAGE="PerlScript"%>
<SCRIPT LANGUAGE="JavaScript" RUNAT="Server">
function a() {...}
</SCRIPT>
<%
# Can I call function a from here?
%>
Sent via Deja.com http://www.deja.com/
Before you buy.
--8<----8<----8<-----8<-----8<-----8<-----8<------
From: http://www.fastnetltd.ndirect.co.uk/Perl/perl-win32-asp.html
Q: When I try to call a VB Script function from my PerlScript, it says
the function doesn't exist.
A: You need to call it as:
$ScriptingNamespace->VBScriptFunctionName();
--8<----8<----8<-----8<-----8<-----8<-----8<------
In article <8boo7v$2rr$1...@nnrp1.deja.com>,
spunky_...@my-deja.com wrote:
> Is it possible to call JavaScript functions from PerlScript?
>
> Take the following, for example:
>
> <% @LANGUAGE="PerlScript"%>
> <SCRIPT LANGUAGE="JavaScript" RUNAT="Server">
> function a() {...}
> </SCRIPT>
>
> <%
> # Can I call function a from here?
> %>
>
jim