I need to retrieve the id of the node when unchecked.
On form submit the below code returns all the id of the selected node
checkbox: {
real_checkboxes: true,
two_state: true,
real_checkboxes_names: function (n) {
return [("check_" + (n[0].id)), n[0].id]
}
}
But for my need i need the id when the node is unchecked like
}).bind('uncheck_node.jstree',function(e,data){
{
var a=$(e).attr('id');
alert(a);
}
});
1 Answer