Is it possible (and how if so) to write JavaScript code directly into an ASP classic file?
I want to create validation functions inside an ASP classic file.
ASP is a technology, NOT a language. You can write your ASP pages in any language which is registered as a Scripting Engine. So you can use VBScript, Javascript, Perl, ... if there is a scripting engine registered in your server, you can use it.
How? Like this!
<%@ Language= "Javascript" %>
<%
var message = 'This is my message: ';
for (var i = 0, endI = 10 ; i < endI ; i++){
Response.Write( message + ' ' + i + '<br>' ) ;
};
%>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With