[jQuery] Plugin function does not exist.

2008-08-28 Thread riegersn
$.fn.selectMatch = function(x) { for (i=0; i

[jQuery] Re: equivalent to prototype's invoke?

2008-08-27 Thread riegersn
Ah, that makes sense. Thats my fault for not reading the docs thoroughly. Thanks!

[jQuery] equivalent to prototype's invoke?

2008-08-27 Thread riegersn
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(); th