try binding it directly like:
$('#tree_container').jstree({
core : { animation : 0} ,
plugins : ['json_data', 'themes'] ,
json_data : tree_data, themes : { url: '/stylesheets/tree.css'}
}).bind("select_node.jstree", function(e,data) {
var node_id =data.rslt.obj.attr("id");
alert('you selected the node '+node_id);
});
On Oct 6, 4:11 pm, Mauricio Garavaglia <
mauriciogaravag...@gmail.com>
wrote: