javascript - storing tree element in jQuery -


I have developed a tree menu using the jQuery API. But the elements of all my trees are hard coded. I want to store the tree elements in a data structure and make the tree dynamically. Does jQuery have any data structure such as a list of links or STHs or do I need to code my data structure?

You can use javascript methods, do not forget that jQuery is just a JS extension.

Here are the manuals on JavaScript data structures:

  • var cat = {color: "gray ", Name:" spot ", size: 46}; Cat.form = 47; Show (cat.size); Delete Cat.size; Show (cat.size); Show (cat);


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -