Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = $_SERVER['SCRIPT_NAME'] . "?SessID=" . $_SYSTEM['SessID'] . '&action=getChildren&node=';
- ### Pseudo Code und so
- $('#tree').jstree({
- 'core' : {
- 'data' : {
- 'url' : function (node) {
- return $url + node.id;
- },
- 'data' : function (node) {
- return { 'id' : node.id };
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement