Read the docs, read the docs. http://docs.jquery.com/Selectors
$('#element:visible') or $('#element:hidden') - ricardo On Oct 16, 12:28 pm, Jay <[EMAIL PROTECTED]> wrote: > Good morning all, > When you use the toggle() or slideToggle() what's the best way to > detect the current condition of the effected elements? I'd like to > save the state of the user's window in a cookie. I could toggle a > class or add a property > when I toggle things but I wondered if there was a better way.