[jQuery] Re: Array function

2009-04-06 Thread Jonathan Vanherpe (T & T NV)
Alex Wibowo wrote: Gday, Is there a short way to do: $("#idOne").show(); $("#idTwo").show(); ? So far, my best bet is to do: $.each(["#idOne","#idTwo"],function(){ $(""+this).show(); }); Thanks in advance! $('#idOne, #idTwo').show(); just like css

[jQuery] Re: Array function

2009-04-06 Thread Ferenc Radius
$("#idOne,#idTwo"").show(); On Mon, Apr 6, 2009 at 10:45 AM, Alex Wibowo wrote: > > $("#idOne").show(); > $("#idTwo").show();