stopObserving :: Element

stopObserving(element, eventName, handler) -> HTMLElement

 

Unregisters handler and returns element.

 

This is a simple proxy for Event.stopObserving. Please refer to it for further information.

 

Example

 

$(element).stopObserving('click', coolAction);

// -> HTMLElement (and unregisters the 'coolAction' event handler).

 

 


Prototype API 1.5.0 - prototypejs.org