On Wednesday 15 March 2006 15:38, Jeremy Kitchen wrote:
> On Wednesday 15 March 2006 14:42, Ryan Gahl wrote:
> > When you create the listeners, assign them to a variable so you have a
> > handle by which to remove them...
> >
> > this.myListener = this.someFunction.bindAsEventListener(this);
> > Event.observe(this.someElement, "someEvent", this.myListener);
> >
> > ...now you can do this...
> >
> > Event.stopObserving(this.someElement, "someEvent", this.myListener);
> > this.myListener = null;
>
> I tried that, and it didn't appear to work, however I'll give it another
> stab.

meh, figures, it works now ;)

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.

Attachment: pgpNi0EmloTvf.pgp
Description: PGP signature

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to