jquery countdown remove when finished
<p>afternoon,</p>

<p>I am using the following countdown for a quiz app i am writing.</p>

<pre><code> var count = 60;
    countdown = setInterval(function(){
    $("p.countdown").html(count + " seconds remaining!");
    if (count == 0) {
        $('#QuizQuestions').hide();
        $('#QuizFail').show();
        $('.anscountFail').html("Sorry, you ran out of time!");
    }
    count--;
    }, 1000);
</code></pre>

<p>Once all the questions have been answered, i then do</p>

<pre><code> $('p.countdown').remove();
</code></pre>

<p>to remove the p.countdown. My question is how come the page still goes to the fail page, even with this removed? and how can i stop the countdown if all questions have been answered?</p>

<p>Many thanks,</p>
