I recently made the switch to jQuery and i'm happy I did so far.
However I'm missing my trusty invoke method from prototype.

invoke:
$('div1', 'div2').invoke('hide');

this is how im doing it now...
$.each(['#div1', '#div2'], function(i, s){ $(s).show() });

I tried $('#div1', '#div2').hide(); thinking it would surely work but
doesn't. Any advise? There has to be an easier way to do this.

Thanks,
Shawn

Reply via email to