If you want to use jquery UI - just do what you suspected is right - bind to the open_node.jstree event and bind to all nodes that you find inside the newly opened node, so something like on('open_node.jstree', function (e, data) { data.instance.get_node(data.node, true).find('li'); });
Or you could use the built in dnd plugin and listen for $(document).bind('dnd_stop.vakata', function (e, data) { });
If you want to drag a foreign element on a tree, pull the latest source and use:
$('.dragme') // element you want to be able to drop on the tree
.on('mousedown', function (e) {
return $.vakata.dnd.start(e, { 'jstree' : true, 'obj' : $(this), 'nodes' : [{ id : true, text: $(this).text() }] }, '<div id="jstree-dnd" class="jstree-default"><i class="jstree-icon jstree-er"></i>' + $(this).text() + '<ins class="jstree-copy" style="display:none;">+</ins></div>');
});
Best regards,
Ivan