User Guide
370 Page Content
Description
Checks to make sure that the functions that are associated with any behavior calls on the
specified node are in the
HEAD section of the document and inserts them if they are missing.
Arguments
elementNode
■ The elementNode argument is an element node within the current document. If you omit
the argument, Dreamweaver checks all element nodes in the document for orphaned
behavior calls.
Returns
Nothing.
dom.removeBehavior()
Availability
Dreamweaver 3.
Description
Removes the action at the specified position within the specified event. This function acts on
the current selection and is valid only for the active document.
Arguments
event, {eventBasedIndex}
■ The event argument is the event handler through which the action is attached to the
element (for example,
onClick, onMouseOver, or onLoad). If you omit this argument, all
actions are removed from the element.
■ The eventBasedIndex argument, which is optional, is the position of the action to be
removed. For example, if two actions are associated with the specified event, 0 is first and
1 is second. If you omit this argument, all the actions for the specified event are removed.
Returns
Nothing.
dreamweaver.getBehaviorElement()
Availability
Dreamweaver 2.
000_DW_API_Print.book Page 370 Wednesday, July 20, 2005 11:58 AM