I've been trying for hours and can't get it to work. I am trying to initialize Fancytree with ajax. This is what I've got so far.
$(function(){
$("#tree").fancytree({
initAjax: {url: "/ajaxData.do",
data: "action=buyclassification",
}
});
});
It looks simple but I can't figure out what I am doing wrong.