How to Change Image Source using Jquery using effects and looping?
<p>I want change the image source from <code>image1.png</code> to <code>image2.png</code> (with <code>fade</code>) and loop.
I have this code below  but this isn't looping to image1.png. </p>

<p><strong>My code</strong></p>

<pre><code>setInterval(function(){
    $('.class')
             .attr('src','image2.png')
             .stop(true,true).hide()
             .fadeIn('slow');
}, 1000);
</code></pre>

<p>Please help me. Thanks a lot!</p>
