onClick: function(node){
alert(node.text); // alert node text property when clicked
$.get(
$(this).attr('href'),
function(data) {
$('#te').html(data);
}
);
}
I got such code, and I wan't to disable in the node the <a> tag - normally it works with e.preventDefault(); but it seems like it can't be added here.
Its because I have a formatter for the tree
if (node.text > 0){ return '<a class=clicker href=logs/'+node.text+'/' + node.text + '.log>' + node.text + '</a>';}