you are misusing addEvents:
addEvents take an object as parameter http://mootools.net/docs/core/Element/Element.Event#Element:addEvent http://mootools.net/docs/core/Element/Element.Event#Element:addEvents On Mon, Feb 1, 2010 at 4:07 PM, hamburger <[email protected]> wrote: > Hello profesionals, > I'am a newbe here and don't know what you are talking about. > I'am using the following code with moo1.2.3 > > > $$('textfield').addEvents('focus, function(){ if(this.value == > this.defaultValue) this.set(value, ''); }); > > doesn't work it anymore with 1.2.4 ?? > > > On 31 Jan., 08:04, Aaron Newton <[email protected]> wrote: > > Yeah. It can't be done with the current 1.2 system without rewriting > > it entirely. You'll have to wait for 2.0. > > > > -Aaron > > > > Sorry for any typos. Big fingers , tiny buttons. > > > > On Jan 29, 2010, at 10:58 PM, אריה גלזר > > > > > > > > <[email protected]> wrote: > > > Hey. > > > I was wondering if anyone has a moo solution for focus/blur event > > > delegation on moo 1.2.4? (i heard it's gonna be available for 2.0 > > > but i need it now...) > > > ----------- > > > אריה גלזר > > > 052-5348-561 > > > 5561- Zitierten Text ausblenden - > > > > - Zitierten Text anzeigen - > -- http://tbela99.blogspot.com/ fax : (+33) 08 26 51 94 51
