JQuery named functions with scope
<p>I need to execute a single function on a set of adjacent DIVS on my page. I thought it would work best like this:</p>

<pre><code>function namedFunction(){
   setTimeout(3000);
   //do animations and such
   $(this).next().call(namedFunction);

}

$("#firstdiv").call(namedFunction());
</code></pre>

<p>but I can't find a way to arbitrarily execute a function in a set scope (the firstdiv object), and moreover I'm not even sure if the scope will be passed correctly. Is there a way to do this, or a better way to do this?</p>
