Getting the source of a click in jquery?
<pre><code>var currentImageBox;    
$('.newImage').bind('click', function() {

        currentImageBox = this;
        currentImageBox.unbind('click');
    });
</code></pre>

<p>Im trying to set currentImageBox to the div that was clicked (a number of divs on the page have the newImage class). But to no avail, where am I going wrong?</p>
