Javascript Reference
Categories: A

javascript A charset

@March 15, 2008, 1:22 a.m.

charset Firefox/Netscape/NN 6 IE 6 Chrome/Safari/DOM 1  

Read/Write  

Character encoding of the document's content.

 
Example
 
if (document.getElementById("myAnchor").charset == "csISO5427Cyrillic") {
    // process for Cyrillic charset
}
 
Value

Case-insensitive alias from the character set registry (ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets).

 
Default

Determined by browser.


Powered by Linode.