52
rated 0 times
[
56]
[
4]
/ answers: 1 / hits: 84244
/ 14 Years ago, tue, april 6, 2010, 12:00:00
How can I get the id of the selected node in a jsTree?
function createNewNode() {
alert('test');
var tree = $.tree.reference(#basic_html);
selectedNodeId = xxxxxxxxx; //insert instruction to get id here
tree.create({ data : New Node Name }, selectedNodeId);
}
More From » jquery