language property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the language in which the current script is written.
Syntax
HRESULT value = object.put_language(BSTR v);HRESULT value = object.get_language(BSTR* p);
Property values
Type: BSTR
JScript
-
Language is JScript.
javascript
-
Script is JavaScript.
vbs
-
Language is VBScript.
vbscript
-
Script is VBScript.
XML
-
Script is XML.
language
-
Browser-supported language.
Standards information
- HTML 4.01 Specification, Section 18.2.1 (Deprecated)
Remarks
The language property can refer to any scripting language.
In Windows Internet Explorer, the default scripting engine is JScript.
Microsoft Internet Explorer 4.0 ships with scripting engines for JScript and VBScript.
In Microsoft Internet Explorer 5, the LANGUAGE attribute of the script element can be set to XML.
Build date: 1/26/2012
Community Additions
Show: