Does anyone know how to set the style of a tree item (node) from code, not css? The following example works OK for the first tree on a page, but if I add a second tree then I get the javascript error "this[getInt[p]] is not a function.
Actually, the above code DOES work for multiple trees if I use document.write(tree) to create each tree in code. Previously I was creating the trees via placeholers in the html page like this:
<span id='tree1'></span>
<span id='tree2'></span>
... but that technique leads to the aforementioned js error. Odd.