
The Dreamweaver DOM 131
Properties and methods of the document object
The following table details the properties and methods of the document object that are taken
from DOM Level 1 and used in Dreamweaver. A bullet (•) marks read-only properties.
option
In addition to the properties that
are available for all tags:
text
Only those methods that
are available to all tags
None
mmcolorbutton
In addition to the properties that
are available for all tags:
name
value
None
onChange
array
boolean
date
function
math
number
object
string
regexp
Matches Netscape Navigator
4.0
Matches Netscape
Navigator 4.0
None
text nodeType •
parentNode •
childNodes •
data
hasChildNodes()
None
comment nodeType •
parentNode •
childNodes •
data
hasChildNodes()
None
NodeList length • item()
None
NamedNodeMap length • item()
None
Property or method Return value
nodeType • Node.DOCUMENT_NODE
parentNode • null
parentWindow •
The JavaScript object that corresponds to the document’s
parent window. (This property is not included in DOM
Level 1; however, Microsoft Internet Explorer 4.0 supports
it.)
Object Properties Methods Events
Komentarze do niniejszej Instrukcji