The lang and language PropertiesThe lang property holds an object's language (such as "en" for English), and the language property holds the scripting language for an element. You can see the support for these properties in Table 5.32. Table 5.32. The lang and language Properties
Although these properties are primarily meant to be read, you can write them; here's an example: document.all.germanLanguageDIV.lang ="de" document.all.script1.language ="JavaScript" |