Adobe 38040334 API Reference - Page 287
dom.removeBehavior, dreamweaver.getBehaviorElement, value. This function returns
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 287 highlights
DREAMWEAVER CS3 282 API Reference 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. Description Gets the DOM object that corresponds to the tag to which the behavior is being applied. This function is applicable only in Behavior action files. Arguments None. Returns A DOM object or a null value. This function returns a null value under the following circumstances: • When the current script is not executing within the context of the Behaviors panel • When the Behaviors panel is being used to edit a behavior in a timeline • When the currently executing script is started by dreamweaver.popupAction() • When the Behaviors panel is attaching an event to a link wrapper and the link wrapper does not yet exist • When this function appears outside of an action file
![](/manual_guide/products/adobe-38040334-api-reference-b593776/287.png)