EasyUI Forum
May 31, 2024, 08:27:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Get node-id onclick event in combotree  (Read 9894 times)
vinod
Newbie
*
Posts: 4


View Profile
« 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.
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #1 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);
}
})
Logged

-- Licensed User --
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!