How to update tree node using ajax response data? - jQuery...
onBeforeExpand:function(node){ if($(this).tree("getChildren",node.target).length==0){ //Get the data using id var treeObj = $(this); $.ajax({ type:"POST", url:"PublisherController.php", dataType:"json", data:"r