Hi,
I modified jquery treeview for my specific requirements are need some help with bug fixes. The 2 changes I made-
1- Instead of just the single parameter "root", the url script (to load tree async) now takes two params "fromnode" and "nodepath". The script will then traverse and return the entire subtree from fromnode to nodepath. This tree will be appended under "fromnode". -- This is working correctly.
2- A function search_show_node which takes the path of node not yet loaded and loads the entire tree upto this node. It first determines the last loaded node under which the subtree should be appended. Then calls [login to view URL] with fromnode=the last loaded node and nodepath=final node to be loaded. Then appends this tree under fromnode. -- This is working partly. The tree is appended but fromnode is not toggled from "+" to "-". Hence when I click on "+" again it loads the children under it one more time.
I need help to fix this. No changes to [login to view URL] will be required. You can view the demo and source code here. [login to view URL]
Thanks