The current page is built with Classic ASP technology, but runs Javascript instead of VBScript.
Just add the first line [
<%@ LANGUAGE="javascript" %>] to your ASP file, and you're done.
sample asp javascript output: field = value
File Content ...
<%@ LANGUAGE="javascript" %>
<html><head>
<title><% Response.Write("Server-side javascript on IIS + Classic ASP!"); %></title>
</head><body>
The current page is built with Classic ASP technology, but runs Javascript instead of VBScript.
Just add the first line [<%@ LANGUAGE="javascript" %>] to your ASP file, and you're done.
<%
try{
var field = "value";
Response.Write("<br>sample asp javascript output: field = " + field);
}catch(e){ // <-- TRY-CATCH IN CLASSIC ASP !!!
Response.Write(e.message);
}
%>
</body></html>
foxOnTheRock.com