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!

Difference between revisions of "HTML DOM Document Object Properties"

From OdleWiki
(Created page with "Category:JavaScript {| class="wikitable" |- | style="width:200px" | '''<code>anchors[]</code>''' || Returns an array of the document's anchor elements. |}")
 
Line 4: Line 4:
 
|-
 
|-
 
| style="width:200px" | '''<code>anchors[]</code>''' || Returns an array of the document's anchor elements.
 
| style="width:200px" | '''<code>anchors[]</code>''' || Returns an array of the document's anchor elements.
 +
|-
 +
| '''<code>Body</code>''' | Returns the document's <code>body</code> or <code>frameset</code> element.
 +
|-
 +
| '''<code>Cookie</code>''' | 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.
 +
|-
 +
| '''<code>Domain</code>''' | Returns the domain name of the server where the current document is located.
 +
|-
 +
| '''<code>forms[]</code>''' | Returns an array of the document's forms.
 +
|-
 +
| '''<code>images[]</code>''' | Returns an array of the document's images.
 +
|-
 +
| '''<code>links[]</code>''' | Returns an array of the document's links.
 +
|-
 +
| '''<code>Referrer</code>''' | Returns the Uniform Resource Locator (URL) of the document that provided a link to the current document.
 +
|-
 +
| '''<code>Title</code>''' | Returns or sets the title of the document as specified by the <code><title></code> element in the document's <code><head></code> section.
 +
|-
 +
| '''<code>URL</code>''' | Returns the URL of the current document.
 +
|}
 +
 
|}
 
|}

Revision as of 19:05, 5 February 2013


anchors[] Returns an array of the document's anchor elements.
Returns the document's body or frameset element.
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.
Returns the domain name of the server where the current document is located.
Returns an array of the document's forms.
Returns an array of the document's images.
Returns an array of the document's links.
Returns the Uniform Resource Locator (URL) of the document that provided a link to the current document.
Returns or sets the title of the document as specified by the <title> element in the document's <head> section.
Returns the URL of the current document.

|}