hi guys. was wondeirng if anyone could help -> using acts_as_tree, when
a user selects a parent, how would i make a child node pop up in another
textfield/textbox? (and sub child nodes, on and on)…
any help would be appriciated…
hi guys. was wondeirng if anyone could help -> using acts_as_tree, when
a user selects a parent, how would i make a child node pop up in another
textfield/textbox? (and sub child nodes, on and on)…
any help would be appriciated…
On 9/2/06, Dominic S. [email protected] wrote:
hi guys. was wondeirng if anyone could help → using acts_as_tree, when
a user selects a parent, how would i make a child node pop up in another
textfield/textbox? (and sub child nodes, on and on)…any help would be appriciated…
This is a little bit vague however…
If the data is not already on the client side when the user clicks the
parent, then you will need to make an AJAX call to the server to get
the children. You could use RJS to insert the popup or you could send
the data back to the client in XML or JSON and let the JavaScript
process it and create the popup contents.
Peter
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs