The ul's gets the style property display= none when uncollapsed and no style when collapse. The idea is to remember the state of the tree. I want to do this by saving the style properties in a cookie. I got most of the cookie script working only i can't seem to get the style properties and store them.
anyone help please, much appreciated
var stateColl= document.getElementsByTagName("ul");
for( i=0; i < stateColl.length;i++)
and this how mu html looks like ;
for collapsed tree;
for uncollapsed tree
<ul style="overflow: visible; display: none;">