views:

24

answers:

2

I have developed a tree menu using jQuery api. But all my tree elements are hard coded. I want to store the tree elements in a data structure and create the tree dynamically. Does jQuery has any data structure like linked list or sth or do I have to code my own data structure ?

+1  A: 

See:

Sarfraz
+2  A: 

You can use javascript methods, don't forget, that jQuery is just a JS extension.

Here are manuals on javascript data structures:

Silver Light