Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.2.2 [DOM Level 1] Section 2.4, Objects related to HTML documents

C0006:

The specification states:

 Attribute
 cookie 
 The cookies associated with this document.  

All Document Modes (All Versions)

An item is not added to the cookie collection if the optional path=<some_path> string sequence specifies a file name. The value of <some_path> is limited to a subset of URLs for which the cookie is valid.

All Document Modes (Internet Explorer 7)

The maximum size for the value of the cookie attribute is defined as 4096 bytes (4 KB).

All Document Modes (All Versions except Internet Explorer 7)

The maximum size for the value of the cookie attribute is defined as 10240 bytes (10Kb).

C0007:

The specification states:

 Method
 getElementsByName Returns the (possibly empty) collection of elements whose name 
 value is given by elementName. 
  
 Parameters 
 elementName  The name attribute value for an element.
  
 Return Value The matching elements. 
  
 This method raises no exceptions.

IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

A collection of elements is returned where each element name, id, or uniquename attribute value matches the elementName parameter.

IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

Matches all elements that have a name attribute, even if a name attribute is invalid according to the [HTML] spec.

Show:
© 2015 Microsoft