I have a JavaScript that displays a DIV (sets its display css property from \'none\' to \'normal\'. Is there a way to give it focus as well so that when I click somewhere else o
$('.menu > li').click(function() { $(this).children('ul').stop().slideDown('fast',function() { $(document).one('click',function() { $('.menu > li').children('ul').stop().slideUp('fast'); }); }); });