Drag tree items

Hello! Now I want to drag a tree node to a div,but how I can get the dragged nodes items like id and text!Ont the other words,how I dragged a tree node to a div ??
my code like that:
tree=new dhtmlXTreeObject(document.getElementById(‘div_Tree’),“100%”,“100%”,0);
tree.setSkin(‘dhx_skyblue’);
tree.setImagePath(“<%=request.getContextPath()%>/trees/imgs/csh_yellowbooks/”);
tree.enableDragAndDrop(true);
tree.loadXML(“<%=request.getContextPath()%>/trees/xml/tree1.xml”);
tree.dragger.addDragLanding(document.getElementById(‘div1’), {
_drag : function(){alert("in the method of _drag()!! ");},
_dragIn : function(){alert(tree.dragger.dragNode);
document.getElementById(‘div1’).innerHTML = tree.dragger.dragNode.outerHTML;
alert("in the method of _dragIn()!! ");
},
_dragOut : function(){alert("in the method of _dragOut()!! "); }
});
Now i try to use addDragLanding() method to get the dragNode id and text,and set the dragNode id and text to a div item,but now i do not know how to finish it??please give me some advice! thanks again!! :question:

Hello,

here is the ready sample in the tree package:
dhtmlxTree/samples/05_drag_n_drop/08_pro_drag_out.html

The same sample - dhtmlx.com/docs/products/dht … g_out.html