by trixmoto » Mon Jul 01, 2013 7:34 am
You can write scripts in JScript, although I have written all of mine in VBScript (although some have web functionality that does use Javascript). There are some differences between JScript and Javascript, but they are minimal...
The biggest difference now between JavaScript and JScript are all of the additional commands that JScript supports that allow access to ActiveX and the local computer. These commands are intended for use on intranet sites where you know the configuration of all of the computers and that they are all running Internet Explorer.
There are still a few areas remaining where JavaScript and JScript differ in the means that they provide to perform a particular task. Except in these situations the two languages can be considered to be equivalent to one another and so unless otherwise specified all of the references to JavaScript that you see will also usually include JScript.
From
http://javascript.about.com/od/reference/a/jscript.htm
You can write scripts in JScript, although I have written all of mine in VBScript (although some have web functionality that does use Javascript). There are some differences between JScript and Javascript, but they are minimal...
[quote]The biggest difference now between JavaScript and JScript are all of the additional commands that JScript supports that allow access to ActiveX and the local computer. These commands are intended for use on intranet sites where you know the configuration of all of the computers and that they are all running Internet Explorer.
There are still a few areas remaining where JavaScript and JScript differ in the means that they provide to perform a particular task. Except in these situations the two languages can be considered to be equivalent to one another and so unless otherwise specified all of the references to JavaScript that you see will also usually include JScript.[/quote]
From http://javascript.about.com/od/reference/a/jscript.htm