DHTMLXTree Unable to initialize


I’m using DTmlxTree for first time i have the Js and Image files.My code is as follows but the output is not a tree just a blank DIV.please let me know where I’m going wrong its not taking the dhtmlxtree.js file when i keep an alert.

Three state checkboxes

Check item

UnCheck item

Get list of checked


out put is as follows -----------------------



It seem like you use “tree2” as a tree name, but trying to load XML string to “tree” object.

Thanks for the solution it works fine…

You are welcome!