.hide() hides on container div click instead of just handle?
<pre><code>$(function () {
    $("#test").draggable({
        handle: "#testheader",
        containment: 'window'
    });
});

$('p#exit').click(function () {
    $('#test').hide();
});
});

&lt;div id="test"&gt;&lt;div id="testheader"&gt;&lt;p id="exit"&gt;Exit&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
</code></pre>

<p>instead of exiting when i click on the p element, it exits when I click the container div as well.</p>
