Detaches a behavior from the element.
Value that specifies the identifier that is returned from a previous addBehavior call.
Returns one of the following possible values.
The behavior was successfully removed.
The behavior was not removed.
There are no standards that apply here.
This method applies only to attached behaviors, which are the original Dynamic HTML (DHTML) behaviors introduced in Microsoft Internet Explorer 5. Element behaviors are a feature in Microsoft Internet Explorer 5.5 and cannot be added or removed from an element.
This example uses the removeBehavior method to show how a behavior that implements a mouseover highlighting effect can be dynamically removed from all li elements on a page.