Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

language property

Sets or retrieves the language in which the current script is written.

Note  This has been superceded by the type attribute for the script element. If you are using javascript alone, you don't need to specify a type or language with the script element.

Syntax

HRESULT value = object.put_language( v);HRESULT value = object.get_language(* p);

Property values

Type: BSTR

JScript

Language is JScript.

javascript

Script is JavaScript.

vbs

Language is VBScript. No longer supported.

vbscript

Script is VBScript. No longer supported.

XML

Script is XML.

language

Browser-supported language.

Standards information

Remarks

The IHTMLElement::language property can refer to any scripting language.

In Windows Internet Explorer, the default scripting engine is JavaScript.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.