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. |}") |
|||
(One intermediate revision by the same user not shown) | |||
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. | ||
|} | |} |
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. |