javascript setinterval clearing its self?
<p>Hello guys i was wondering if there a way to make interval clear its self ? </p>

<p>some thing like like :</p>

<pre><code>setInterval(function () {
    alert(1);
    clearInterval(this);
}, 2000);
</code></pre>

<p>i want it to keep checking thing if its finished its will stop :)</p>

<p>cuz this i need it like this ^^
that is it thanks.</p>
