EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: vinod on November 23, 2012, 09:11:44 PM



Title: Get node-id onclick event in combotree
Post by: vinod on November 23, 2012, 09:11:44 PM
How do we get the node-id of the selected node from the combotree. onclick event get the node-id of the node.


Title: Re: Get node-id onclick event in combotree
Post by: devnull on November 23, 2012, 10:38:12 PM
Is it the same way as with the tree:

Code:
$('#mytree').tree({	
onClick:function(node){
alert(node.id);
}
})