As some of you may know, I’m working on a drag-and-drop AJAX tree
manager. I’ve got it pretty much done now, except for the dropping of
one node onto another. I can relocate and save the node fine, but I’d
like to be able to move the node and have it placed inside a specific
inner div to where it’s dropped without having to reload the place
it’s dropped. As the drop target is a node, too, and might be expanded
at any number of levels, refreshing that node would kill this state,
leaving it either collapsed, or expanded at just one level.
On my drop_receiving_element, I’d like to be able to say something
:success => “Element.move_to(element_id, target_id)”
Is there some way I can do this?
Thanks in advance,