Objects >
document
javascript document Description
The document object represents both the content viewed in the browser window or frame and the other content of the HTML file loaded into the windo
javascript document activeElement
Refers to the object that is currently designated as the active element in the document. To learn more about the returned object, you'll need to exa
javascript document alinkColor
Specifies the color of a hypertext link as it is being clicked. The color is applied to the link text or border around an image or object embedded w
javascript document anchors[ ]
Returns an array of all anchor objects in the current document. This includes a elements that are designed as either anchors or combination anch
javascript document applets[ ]
Returns an array of all Java applet objects in the current document. An applet must be started and running before it is counted as an object. Item
javascript document bgColor
Provides the background color of the document. Even if the bgcolor attribute or bgColor property is set with a plain-language color name, the retu
javascript document body
Returns a reference to the body object defined by the body element within the document. This property is used as a gateway to the body object'
javascript document charset
Indicates the character encoding of the document's content. This property is dropped from IE 6 for Windows in favor of the document.defaultCharset
javascript document characterSet
Indicates the character encoding of the document's content.
javascript document compatMode
Returns the compatibility mode for the document, as controlled by the DOCTYPE element's content.
javascript document cookie
Indicates the HTTP cookie associated with the domain of the document and stored on the client machine. The Netscape/Firefox browsers group all cookie
javascript document defaultCharset
Indicates the character encoding of the content of the document.
javascript document defaultView
Returns a reference to the W3C DOM abstract representation of a "viewer" that renders the document (the formal name for the object is Abstra
javascript document doctype
Returns a reference to the DOCTYPE element object (the same as the W3C DOM abstract DocumentType node object). The property returns a reference v
javascript document documentElement
Returns a reference to the root element node of the document. For HTML documents, the reference is to the html element that encompasses the documen
1-15 / 96
>
Powered by Linode.