I'm using Prototype 1.6. I create a new Form.Element.Observer, but is there a way to then remove it/stop it? Thanks
+2
A:
I think this should work :
var obs = new Form.Element.Observer(element, frequency, callback);
obs.stop();
Fabien Ménager
2009-06-15 21:10:21
Yep, but there is one on PeriodicalExecuter : Form.Element.Observer inherits Abstract.TimedObserver which inherits PeriodicalExecuter ;)
Fabien Ménager
2009-06-15 21:42:49
You're right, because I was looking at 1.5.21.6.1 inheirits it from PeriodicalExecuter properly.
alamar
2009-06-16 08:17:00
Perfect - thanks so much.
Paul
2009-06-16 12:42:50