Ola galera, seguite... eu estava buscando aqui algumas alternativas sobre Tree e achei o JStree achei mto bom !
mas não estou conseguindo fazer funcionar um exemplo básico conforme abaixo
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="jquery.jstree.js"></script>
<script type="text/javascript">
$("#tree").jstree({
core: {
"animation": 0
},
"html_data": {},
"themes": {
"icons": false
},
"search": {
"case_insensitive": true,
"show_only_matches": true
},
"plugins": ["themes", "html_data", "search"]
});
$("#tree").jstree("create_node", $("node_1"), "after", { "data": "Hello World" });
</script>
</head>
<body>
<div id="tree">
<ul>
<li id="node1"><a>Hello</a></li>
</ul>
</div>
</body>
</html>
baixei o js + css´s do site http://www.jstree.com/
o apontamanto aos js do Jquery e Jstree estão certos.
alguem consegue me dizer o que estou fazendo de errado ?? Oo
abs !