> I did some testing and it works for both > toggle() and slideToggle(); when the element slides up it ends with > display:none too. Make sure you are referencing the right object, a > child of a hidden element will be considered ':visible' even if it's > actually hidden by the parent.
I bet it's probably hidden the parent and I'm checking a child. Thanks Ricardo :)