Categories | Question details Back To List | ||
Accordion - get open/close state Hi, Is there any way of knowing if an item in accordion is opened or closed? I need to get the state of accordion item. Something like accordion.itemId.getState(). Thanks, Gaurav Arora Answer posted by Support on Nov 27, 2008 02:32 Hello, Unfortunately such feature is absent. It will added in future release. Now you can use the following code: if (String(dhxAccord.idPull[itemId]._content.className).search("dhx_acc_item_content_opened") != -1) { // item opened } else { // item closed } |