Javascript Reference
Categories: Element

javascript Element removeBehavior( )

@March 15, 2008, 1:22 a.m.
removeBehavior( )Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

removeBehavior(behaviorID)

  

Disconnects the association between the current element and a behavior that had been made earlier via the addBehavior( ) method. The parameter is the value that had been returned by the addBehavior( ) method, which you must preserve as a variable between invocation of the two methods.

 
Parameters
 
  • Integer serial number initially generated by the addBehavior( ) method for the current element and behavior type.
 
Returned Value

Boolean value true if the removal is successful; otherwise false.


Powered by Linode.