Objects, properties, and methods of the Adobe Dreamweaver DOM

The following table lists the objects, properties, methods, and events that the Adobe Dreamweaver DOM supports. Some properties are read-only when they are accessed as properties of a specific object. A bullet () indicates properties that are read-only when they are used in the listed context.

Object

Properties

Methods

Events

window
navigator document innerWidth innerHeight screenX screenY 
alert()confirm()escape()unescape()close()setTimeout()clearTimeout()setInterval()clearInterval()resizeTo()
onResize
navigator
platform 
None
None
document

forms (an array of form objects)

images (an array of image objects)

layers (an array of LAYER, ILAYER, and absolutely positioned DIV and SPAN objects)

child objects by name

nodeType parentNode childNodes documentElement body URL parentWindow 
getElementsBy TagName()hasChildNodes()
onLoad
all tags/elements
nodeType parentNode childNodes tagName attributes by nameinnerHTMLouterHTML
getAttribute()setAttribute()removeAttribute()getElementsByTagName()hasChildNodes()
form

In addition to the properties that are available for all tags: tags:elements (an array of button, checkbox, password, radio, reset, select, submit, text, file, hidden, image, and textarea objects)

mmcolorbutton

child objects by name

Only those methods available to all tags

None

layer

In addition to the properties that are available for all tags:

visibilitylefttopwidthheightzIndex

Only those methods that are available to all tags

None

image

In addition to the properties that are available for all tags:

src

Only those methods that are available to all tags

onMouseOveronMouseOutonMouseDownonMouseUp
buttonresetsubmit

In addition to the properties that are available for all tags:

form 

In addition to the methods that are available for all tags:

blur()focus()
onClick
checkboxradio

In addition to the properties that are available for all tags:

checkedform 

In addition to the methods that are available for all tags:

blur()focus()
onClick
passwordtextfilehiddenimage (field)textarea

In addition to the properties that are available for all tags:

form value

In addition to the methods that are available for all tags:

blur()focus()select()
onBluronFocus
select

In addition to the properties that are available for all tags:

form options (an array of option objects)selectedIndex

In addition to the methods that are available for all tags:

blur() (Windows only)

focus() (Windows only)

onBlur (Windows only)

onChange

onFocus (Windows only)

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:

namevalue

None

onChange
arraybooleandatefunctionmathnumberobjectstringregexp

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