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
 
Line 5: Line 5:
 
| 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>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>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>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>forms[]</code>''' || Returns an array of the document's forms.
 
|-
 
|-
| '''<code>images[]</code>''' | Returns an array of the document's images.
+
| '''<code>images[]</code>''' || Returns an array of the document's images.
 
|-
 
|-
| '''<code>links[]</code>''' | Returns an array of the document's links.
+
| '''<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>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>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.
+
| '''<code>URL</code>''' || Returns the URL of the current document.
|}
 
 
 
 
|}
 
|}

Latest revision as of 19:55, 5 February 2013


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.