192
rated 0 times
[
199]
[
7]
/ answers: 1 / hits: 8041
/ 10 Years ago, fri, march 7, 2014, 12:00:00
I have a Div that is collapsible using attribute data-role=collapsible
How can I check at any point in time whether the Div is in Collapsed mode or Expanded mode. I tried this but it doesn't work:
if ($(#hideshow).is(:collapsed))
alert(collapsed);
Please note that :visible
won't work because in both states visible returns true.
More From » jquery