I already said that. Anyone can answer the real question?
On 25 Nov, 11:59, אריה גלזר <[email protected]> wrote: > aside from the faster question, i would think that addClass is better for it > allows extra behavioral functionality (for example adding instead of setting > etc.) > ----------- > אריה גלזר > 052-5348-561 > 5561 > > On Wed, Nov 25, 2009 at 12:27, stratboy <[email protected]> wrote: > > elem.set('class','rco-topleft') > > > elem.addClass('class','rco-topleft') > > > what's the faster/better? > > > Yes, i know, addClass can add a class, class='class1 class2 rco- > > topleft', so it's different. But still the questions, in that case.
