www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 execScript Method
execScript Method

Executes the specified script in the provided language.

Syntax

vReturn = window.execScript(sExpression, sLanguage)

Parameters

sExpression Required. String that specifies the code to be executed.
sLanguage Required. String that specifies the language in which the code is executed. The language defaults to Microsoft JScript.

Return Value

This method always returns null.

Remarks

Script executed through the execScript method can access all global variables available to the calling script. This can be useful when you want the functionality of another scripting language that would not otherwise be available in JScript, such as the Microsoft Visual Basic Scripting Edition (VBScript) MsgBox function.

Standards Information

There is no public standard that applies to this method.

Applies To

window
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG