Click to See Complete Forum and Search --> : javascript


bhanu chandar
October 9th, 2002, 05:31 AM
hello ppl
i have a javascript tree structure which is static.i want that tree structure to be dynamic that is i should be capable to add a new node or a link or delete or edit an existing node or link.
somebody please help me out.
bhanu chandar
p.s:i have attached file containing the code in the text format.(the buttons are nonfunctional)

websmith99
October 9th, 2002, 10:14 AM
Are you seeking a JavaScript solution, or a DHTML one?

Meaning, would you like the tree structure to show the changes in nodes without having to reload the page?

With JavaScript you would have to reload the page, or overwrite the existing page using document.write(). With DHTML you would redraw the tree on the fly.

websmith99
October 9th, 2002, 10:14 AM
What browsers do you have to support?

bhanu chandar
October 10th, 2002, 12:05 AM
hi websmith99
regarding answers to ur questions : it is better that i have a javascript solution and it is ok that i have to reload the page (i would prefer this over document.write method).
then for the browsers part of it it suffices that the program is IE4+ compatible. it does not need to be working other browsers.
please help me out
regards
bhanu chandar