Make a jQuery element slide up if clicked anywhere outside of it
<p>I have a drop down that I want to slideup when clicked anywhere outside of it (and all it's child elements)</p>

<p>My code seems to not be working :( </p>

<pre><code>$(document).ready(function () {
  $('*').not(".drop").click(function() {
    $('.drop').slideUp('medium', function() {
// Animation complete.
});});});
</code></pre>
