Re: [jQuery] Manipulating several independent elements at once

2007-03-01 Thread Dmitrii 'Mamut' Dimandt
I guess that would be: $("#a, #b, #c").show(); Bernd Matzner wrote: > Hi, > > is there a way to manipulate different selectors in one step? > > $('#a').show(); > $('#b').show(); > $('#e').show(); > > I.e. I don't want to replicate the show() part three times, but sort > of "group" the #a, #b,

Re: [jQuery] Manipulating several independent elements at once

2007-03-01 Thread David Duymelinck
Bernd Matzner schreef: > Hi, > > is there a way to manipulate different selectors in one step? > > $('#a').show(); > $('#b').show(); > $('#e').show(); > > I.e. I don't want to replicate the show() part three times, but sort > of "group" the #a, #b, #e selectors. Of course, this is an example, I > n

[jQuery] Manipulating several independent elements at once

2007-03-01 Thread Bernd Matzner
Hi, is there a way to manipulate different selectors in one step? $('#a').show(); $('#b').show(); $('#e').show(); I.e. I don't want to replicate the show() part three times, but sort of "group" the #a, #b, #e selectors. Of course, this is an example, I need a general method of achieving this. T