Disapper when press spacebar
<p>(Sorry for my dumb English.)
I'm doing with javascript. I have a menu like top right Facebook user menu. If click anywhere in the body area, it will disapper (unless click on the menu itself).
My menu is a login form. I use tab to move across input fields. But when it focus on the checkbox "Remember Me", i press spacebar and the menu disapper.
What's happened? How to fix this problem?</p>
