Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Benoit Houle on Oct 25, 2007 10:15
open dhtmlx forum
dhtmlxTree

I have a first page which displays a tree with checkboxes, that contains some elements, under this tree there is a button which link to a second page.

This second page shows a list of previously checked.

If I click the browser back button, and get back to the first page, none of the previously checked items remains checked.

Is there any way to have them check again?

Thanks
Answer posted on Oct 26, 2007 01:52
The checkboxes in tree is not real inputs, also they created dynamically, so there is no way that default browser back button will restore their state
Such functionality can be achieved only be custom code , for example it possible attach event on page unloading and save list of checked items in cookie, and on tree loading check is cookie exist, and restore previously checked items.