Using apply with jQuery
<p>Why does this work...:</p>

<pre><code>$('.foo').hide()
</code></pre>

<p>...and this doesn't?:</p>

<pre><code>$('.foo').hide.apply(this,[])
</code></pre>

<p>I'm trying to write a function that passes arguments into hide().</p>
