The document Object [2|3|I]
The document object reflects attributes of an HTML document in JavaScript.
Properties
alinkColor— The color of active links as a string or a hexadecimal triplet.
anchors— Array of anchor objects in the order they appear in the HTML document. Use anchors.length to get the number of anchors in a document.
applets— Array of applet objects in the order they appear in the HTML document. Use applets.length to get the number of applets in a document. (Not 2.)
bgColor— The color of the document's background.
cookie— A string value containing cookie values for the current document.
domain— A string value indicating the server for the current document.
embeds— Array of plugin objects in the order they appear in the HTML document. Use ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.