Thanks for this replay.
Well, doesn't works for me.... I used jstree r233
My full process is the following (call by contextmenu)
The followinf steps are in same function.
1° Create a node (working well) (#prj_name").val()=="essai" )
$("#Mtree").jstree("create", $("#Mtree"), "after",
{ "data" : $("#prj_name").val(), "attr" : { "id" : $("#prj_name").val()
+".id","rel" :"prjoject" }},
function() { alert("project folder added"); }, true)
2° Create a Child node to the previous created node (rel attr not
working...)
$("#Mtree").jstree("create", $("#essai\\.id"), "inside",
{ "data" : "reference","attr" : { "rel" :"ref"}},
function() { alert("Child added"); }, true);
I need to set "rel" attr, because I defined properties via this
attribute.
:(
(sorry for my English...)
Patrice