JQuery - Help with .animate and function callback
<p>I am trying the following, but cant get the function to run itself again (I am trying to create some kind of looping animation)</p>

<pre><code>$(document).ready(function() {



       //function loopingFunction(){

       function loop() {
            $('#item').animate({top:'+=100'}, 500, function() {
                $('#item').animate({top:'-=100'},500, function(){
                    loop;
                });
            });
       }


});
</code></pre>
