Aracılığıyla paylaş


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.