PDA

View Full Version : Tree Ajax PHP



Mycoding
4 Oct 2010, 9:33 AM
Please give me a hint.
I become use tree and the moment I at all don't undestand how organise server side.
I watch in FireBug want data sent to the server in one example in which evry time the same data is sent.
And I don't unstand how the sever side should work wth this data.

darthwes
4 Oct 2010, 10:28 AM
The client will begin with a root node. If it's an Ajax Tree Node, the server will be queried to determine the children of the root. Then, any time a node with
leaf: false is selected, it will query the server for the children of that node.

Essentially you have to respond to requests with a list of children for the node being queried.