I am asking this question again. I have this piece of code that loads a jsTree based on an XML file:
$("#div").jstree({
"xml_data" : {
"ajax" : {
"url": "http://192.168.101.1/xml/jstree.xml"
},
"xsl" : "nest"
},
"plugins" : ["themes", "xml_data", "ui","types"]
When the file is on the same server as my script, it works. My tree loads.
"url": "jstree.xml"
But when I do this:
"url": "http://192.168.101.1/xml/jstree.xml"
I keep getting that infinite loading on the page. It is the same XML file and I can defitely access that XML manually when entered into my browser.
Anybody has seen this issue with jsTree? Is there a workaround?