deleteBehavior()

Description

This function undoes any edits that the applyBehavior() function performed.

NOTE

Adobe Dreamweaver automatically deletes the function declaration and the event handler that are associated with a behavior when the user deletes the behavior in the Behaviors panel. It is necessary to define the deleteBehavior() function only if the applyBehavior() function performs additional edits on the user's document (for example, if it inserts a tag).

Arguments

applyBehaviorString

  • This argument is the string that the applyBehavior() function returns.

Returns

Adobe Dreamweaver expects nothing.