You probably need to pass the callback functions to Event.observe in a
variable, so you can use that variable when calling
Event.stopObserving(). It's all explained in the prototype
documentation:
http://prototypejs.org/api/event/stopObserving
Also read about Event.stop() which is used for a
The code below, using prototype and Ajax, populates 3 divs. But,
once the page is loaded and Event.observing is acting, can I stop the
populating with a click button? I thought Event.stop() and
Event.stopObserving() should come, and did some tries but failed.
div id=red/divscript type=text/