View Full Version : Is VBScript the only one for ASP?
Hi masters,
Let only the VBScript is the only one language used in ASP.
Are there any other language which can be used in ASP?
Thank you so. :p
NancyJ
05-11-2005, 01:49 PM
vbscript is the default but you can also use javascript
<%@ language="javascript"%>
If you want to script in other languages you will need to install scripting engines for them
Grant Palin
05-11-2005, 06:15 PM
you can also use javascript
<%@ language="javascript"%>
Close, but not quite. The other option besides VBScript is JScript, which is Microsoft's version of Javascript, so it's not exactly the same as normal JavaScript, although it is very similar.
rmedek
05-11-2005, 06:30 PM
This page seems to agree with both of you :)
http://www.w3schools.com/asp/asp_syntax.asp
brothercake
05-11-2005, 07:44 PM
Well ... since there's really no such thing as "javascript", then yes, you're both right - JScript is Microsoft's implementation of what used to be JavaScript and is now ECMAScript. JScript has lots of proprietary objects and properties, including the core ASP properties like Response, but otherwise is identical to the javascript syntax you're used to.
But just to make the conceptual point, I always do this :D
<%@ language="jscript"%>
tboss132
05-12-2005, 09:46 AM
You can use perl and python too but you'll have to install the engines for them.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.