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,
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
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