clearInterval doesn't work
<p>I have problems with my clearInterval, It doesn't stop my setInterval, here is code:</p>

<pre><code>$(".auto-check").click(function(){
    if($('input[name=autorefresh]').is(':checked') == true){
        var intervalId = setInterval(load,4000);

    }
    else{
        alert("Auto Refresh is off");
        clearInterval(intervalId);
    }

}); 
</code></pre>

<p>who can tell, where is problem? </p>
