| Home Contact Us Advertising |
![]() |
|
||||
ASP Guides ASP Install ASP Syntax ASP Variables ASP Procedure ASP Forms ASP CookiesASP Session ASP Application ASP IncludeASP Send Email Link Partners
|
ASP ProceduresIn ASP you can call a JavaScript procedure from a VBScript and vice versa. ProceduresThe ASP source code can contain procedures and functions:
Insert the <%@ language="language" %> line above the <html> tag to write procedures or functions in another scripting language than default:
Differences Between VBScript and JavaScriptWhen calling a VBScript or a JavaScript procedure from an ASP file written in VBScript, you can use the "call" keyword followed by the procedure name. If a procedure requires parameters, the parameter list must be enclosed in parentheses when using the "call" keyword. If you omit the "call" keyword, the parameter list must not be enclosed in parentheses. If the procedure has no parameters, the parentheses are optional. When calling a JavaScript or a VBScript procedure from an ASP file written in
JavaScript,
always use parentheses after the procedure name. |
Featured Sites |
| © 2005 Copyright - Zenaspfree.com |