I have an accordion control that has three child elements. The third
element is a set of input controls used to modify some data in an
associated tree. I want to load the data elements when a user clicks
on the tree, but when the scren first opens, that panel of the
accordion is closed and all of the controls inside return null
references.

I added accordion.selectedIndex = 2, but the controls don't register
correctly until the panel transition is complete. How can I tell my
function to set the selectedIndex on the accordion and then wait for
it to finish the transition? I thought about using a change() event on
the Accordion to set a flag when it completes, but that seems like a
bit of a hack. Any thoughts?

Reply via email to