Categories | Question details Back To List | ||
object name for tree Hello all, I am having a problem with dhtmlcTree and dataProcessor. A. If I instantiate tree object as follows: tree01=new dhtmlXTreeObject("idTree01","100%","100%",0); B. and use a data processor as follows: var dptree01 = new dataProcessor("/some_script.php"); dptree01.setUpdateMode("on"); // or off dptree01.init(tree01); C. then call dptree01.sendData(); I get JS error "tree is not defined" on line 144 of dhtmlxtree.js. D. If I rename the object from tree01 to tree (like in samples), error goes away. Since I have multiple trees on this page, they cannot all be called "tree". How do I correct this behaviour? Thanks for any and all help. Answer posted by Alex (support) on Mar 27, 2009 03:00 Hello, We have sent you the fixed tree version by email. It must fix the problem. |