[jQuery] Array function
[jQuery] Array function
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!
--
Best regards,
WiB