View Single Post
  #1 (permalink)  
Old 11-23-07, 02:13 AM
model_patel model_patel is offline
Newbie Coder
 
Join Date: Nov 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
How to add nodes dynamically to a dtree

Hi friends,
Please help me the process of adding nodes dynamically to a dtree in java script,i.e. i want to add elements in a dtree which are in Database.
For example,

I have a label in JSP page. When I click on that label I have to generate a tree like structure for which the elements are added from DAtabase

This looks something like this.

Node1
|
childnode1
childnode2
Node2
|
childnode1
childnode2

All the nodes and childnodes should be retrieved from database?

Please Help




Thanks in advance
Regards
BharatKumar.P
Reply With Quote