jquery animate help needed
<p>I am using animate in jQuery. I am getting problem  to execute animate. It executes after test function I want to run this before test function </p>

<pre><code> $('.next').live('click',function() {
                    $('.ac_bgimage').animate({
                        left:"-100em"    
                    }, 15000 );
                    test();
                });
</code></pre>

<p>but now when i click on next class my test function  execute first , i want to execute later after execution of animate. </p>
