JavaScript Programmer’s Reference (Shared web hosting) LINK.charset (Property) The character set

JavaScript Programmer’s Reference LINK.charset (Property) The character set that the document at the other end of a link’s URL is expected to use. Availability: DOM level 1 JavaScript 1.5 JScript 5.0 Internet Explorer 5.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myLINK.charset This would contain the character set being used by the target document at the other end of the link. For example the value “iso-8859-1″ is likely to be returned but the local variant of the browser and OS may affect the value you get. This property might contain a value such as: csISO5427Cyrillic Details of other aliases can be located at the IANA registry. See also: Anchor.charset, Url.charset Web-references: ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets LINK.disabled (Property) A switch property to enable or disable a link. Availability: DOM level 2 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: Boolean primitive JavaScript syntax: -myLINK.disabled Setting this property to true will disable a link from performing any action when clicked on by the user. Setting this property false restores its normal operation. 1340

Leave a Reply