Hello,
I was able to do it, but I'm not sure my way is correct. Without
thinking, I just called the same functiont hat I used to initially
populate the tree with the JSON with a URL built from variables:
$("#FolderTreeView").jstree({
"json_data" : {
"ajax" : {
"url" : myURL,
"success" : function (data) {alert('hi guys');}
}
},
"plugins" : [ "themes", "json_data","ui" ]
})
The onclick would set the global myURL variable to the desired URL.
It worked, but now that I see this post, I wonder if I'm doing it
"correctly" too.