User Guide

328 Document
Returns
An array of strings where each array is a valid JavaScript reference to a named instance of the
requested tag type in the specified document (for example,
"document.myLayer.document.myImage") for the specified browser:
Dreamweaver returns correct references for Internet Explorer for A, AREA, APPLET, EMBED,
DIV, SPAN, INPUT, SELECT, OPTION, TEXTAREA, OBJECT, and IMG tags.
Dreamweaver returns correct references for Netscape Navigator for A, AREA, APPLET,
EMBED, LAYER, ILAYER, SELECT, OPTION, TEXTAREA, OBJECT, and IMG tags, and for
absolutely positioned
DIV and SPAN tags. For DIV and SPAN tags that are not absolutely
positioned, Dreamweaver returns
"cannot reference <tag>".
Dreamweaver does not return references for unnamed objects. If an object does not
contain either a
NAME or an ID attribute, Dreamweaver returns "unnamed <tag>". If the
browser does not support a reference by name, Dreamweaver references the object by
index (for example,
document.myform.applets[3]).
Dreamweaver does return references for named objects that are contained in unnamed
forms and layers (for example,
document.forms[2].myCheckbox).
When the same list of arguments passes to
getObjectTags(), the two functions return arrays
of the same length and with parallel content.
dreamweaver.getObjectTags() (deprecated)
Availability
Dreamweaver1; deprecated in 3.
Description
This function scans the specified document for instances of the specified tags or, if no tags are
specified, for all tags in the document. This function is equivalent to calling
getElementsByTagName() and then getting outerHTML for each element in the nodelist.
000_DW_API_Print.book Page 328 Wednesday, July 20, 2005 11:58 AM