onBeforeLoad: function(node,param){ var sel = $(this).tree('getSelected'); console.log('selected:'+sel); },