Stop fadeTo() in jquery
<p>I used </p>

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

$("#main ul li").hover(function(){

var fade = $('img.g-img', this);
fade.fadeTo('slow', 0.5);


$("#main ul li").removeClass("active");
$(this).toggleClass("active");

});


}); 
</code></pre>

<p>I want to stop fade, when mouseout.
This code not working:</p>

<pre><code>fade.stop().fadeTo('slow',1)
</code></pre>

<p>How can I do this? Thanks in advance.</p>
