How can I get the id of the selected node in a jsTree?
function createNewNode() { alert(\'test\'); var tree = $.tree.reference(\"#basic_html\"); select
In my case, the data call doesnt work. I succeed in accessing my node data by using attr function.
$("#tree").jstree("get_selected").attr("my-data-name");