Value of $(this) changes with confirm
<p>I'm wondering why <code>$(this)</code> is not working the way I'm expecting it to?  In the code below, nothing happens when you click'Remove Image.'  If you comment out the confirm statement then the background changes to green when you click 'Remove Image'.  Do you know why this is? It seems like <code>$(this)</code> is pointing to something else because of the confirm statement. Thanks in advance!</p>

<pre><code>&lt;a href="#" class='thumbnail the-one delete-file'&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt;Remove Image&lt;/a&gt;

$('.the-one').click(function(){
    if(confirm("What do you say?")) { return true;} else {return false;}
    $(this).css("background", "green");

});
</code></pre>
