ASP Syntax: "Using VBScript in ASP
You can use several scripting languages in ASP. However, the default scripting language is VBSc#ipt:
<%
response.write('Hello World!')
%>
The example above writes 'Hello World!' into the body of the document.
Using JavaScript in ASP
To set JavaScript as the default scripting language for a particular page you must insert a language specification at the top of the page:
<%@ language='javascript'%>
<%
Response.Write('Hello World!')
%>
Note: JavaScript is case sensitive! You will have to write your ASP code with uppercase letters and lowercase letters when the language requires it."
Nuk ka komente:
Posto një koment