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 |
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:
| 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:
|
|
option | In addition to the properties that are available for all tags:
| 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 |