JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

returning

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
mwunruh



Joined: 29 Oct 2004
Posts: 1

PostPosted: Fri Oct 29, 2004 12:57 pm    Post subject: returning Reply with quote

I am using version 2.3.1 of cooljstree pro. I need to be get the {id:123} value that I assigned to the nodes when I select the node. This value is the primary key value of the item in a database. Please don't worry about getting to basic with me. I was sent me this code snippet, but I can't figure out how to use it. Confused

tree1.caption_onclick = function (_node) {
alert(_node.nodeID);
}

Thanks,
Marlin
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Wed Nov 17, 2004 7:53 pm    Post subject: Reply with quote

This code will not work with 2.3.1 - you need newer version (at least 2.3.2).
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1