How do I conditionally handle when an accordion section is open. What I am asking is this (in pseudo code):
if (this-accordion-section-open){ do something
from the demo site, I noticed there's a ui-state-active class on opened section. So you can use jQuery.hasClass for your code...
ui-state-active