Calling a function dynamically
<p>My jQuery function is something like:</p>

<pre><code>$.a.b.c();
</code></pre>

<p>Now I am trying to call it dynamically:</p>

<pre><code>var temp = b;
$.a.temp.c();
</code></pre>

<p>But obviously its not working. How do I get this to work. Please feel free to edit the question title, as am not sure how to really phrase the question.</p>
