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 

JTree-Dynamic population of the tree elements

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






PostPosted: Tue Jul 22, 2003 12:03 pm    Post subject: JTree-Dynamic population of the tree elements Reply with quote

Hi All,

Thanks for this wonderful product(Cool JS tree).

But i have a problem.How can i dynamically populate the elements of the tree from my JSP?

(i.e)Based on the values retrieved in my JSP i have to populate my tree.
I cant use some thing like---
var node = [[{node1},"val1","val2"]]
as my node variable contains n number of such nodes whose values are dynamically obtained from the JSP.

Can some one please help me out?
Back to top
Guest






PostPosted: Tue Jul 22, 2003 5:38 pm    Post subject: Reply with quote

I got it..

It is quite simple..thanks to JsTree
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