tags:

views:

68

answers:

1

How to determine toggle state>

+5  A: 

I think you are looking for

.is(":visible")

See .is() and :visible

rahul
You forgot the quotes around `:visible` ;-)
Prutswonder
Thanks @Prutswonder, fixed the typo.
rahul
Could be... or could be `.is(':checked')`. More info needed!
Buggabill