2014-02-03 3 views

ответ

0

Вы можете попробовать что-то вроде этого:

var ref = $('#jstree').jstree(true); 
//we bound it with .bind("select_node.jstree", function (event, data) {... 
var sel = data.node.id; 
ref.create_node(sel, { "id": keyId, "text": mytext, "rel": "key", "type": "key", }); 
Смежные вопросы