faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Functions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

36 of 238 people (15%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

What is the correct syntax to call a Javascript function from VBScript? (within an ASP page)

Jun 4th, 2002 06:42
Luiz Paulo Rosa, Indy Jones,


I don't know if there is a correct syntax to call a Javascript function 
from ASP. I use to do like the code below:
<%
'ASP code here
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
myFunction();
//-->
</SCRIPT>
<%
'More ASP code
%>



© 1999-2004 Synop Pty Ltd