PDA

View Full Version : What am I doing wrong?


visade
03-23-2001, 06:38 PM
When I try to run a little script embedded in a HTML I get an error at this line: WScript.Echo("Test ") ........."WScript is not defined".
I haver heard WScript does not need to be
instantiated??
Windows Millenium.
Thanks in advance

RWSchlatter
03-26-2001, 12:14 AM
When imbedding JScript or VBScript in a HTML page, the scripting engine is hosted by the browser (IE).

The WSH is the host to JScript and VBScript in the operating system environment (using either of WSript or CScript interfaces).

You have the same languages, but two different environments and the target of functionality is different.

______________
Regards - Richard