Hi there,
We have a lot of DHTMLX accordion on the main page, each accordion contains a grid with a link. when user clicks on the link, he goes to a new page, but when he clicks the back button, the main page defaults to the default open accordion.
I knw the solution is to save the item in a session and use that, but i just have no clue as to how to get at the currently open accordion item.
This problem is killing us, and i have posted this before here too.
If you can kindly post an example here, that would be very helpful, and highly appreciated.
Rgds,
Kris A
Hi,
There is onActive event which can be used in order to get the active item:
var selected_item = some_default;
dhxAccord.attachEvent(“onActive”, function(id){
selected_item = id;
})
Allright great. Got this working. Many thanks.