This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

HTML DOM Document Object Properties

From OdleWiki
Revision as of 19:55, 5 February 2013 by Kenneth John Odle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

anchors[] Returns an array of the document's anchor elements.
Body Returns the document's body or frameset element.
Cookie Returns the document's cookie string, which contains small pieces of information about a user that are stored by a web server in text files on the user's computer.
Domain Returns the domain name of the server where the current document is located.
forms[] Returns an array of the document's forms.
images[] Returns an array of the document's images.
links[] Returns an array of the document's links.
Referrer Returns the Uniform Resource Locator (URL) of the document that provided a link to the current document.
Title Returns or sets the title of the document as specified by the <title> element in the document's <head> section.
URL Returns the URL of the current document.