hi! i am working on a tree which allows moving nodes/subtrees via drag&drop. since i am not a javascript expert i try to stick to the script.aculo.us library without modifying anything. the nodes are loaded dynamically from my rails-app and have a unique ID. when a node gets moved to another folder, it disappears at its original destination (via Element.remove()) and gets drawn as soon its parent folder gets expanded again - again with the same ID. so far the drag&drop works! but as soon a node was moved to a new folder or subtree i can''t drag it again. i figured that when i create a new Draggable it gets registered with its ID. thatswhy i tried unregister each Draggable before i register a new one with the same ID. This is the code from my rails template: <script type="text/javascript"> //<![CDATA[ try { x = eval("d_" + id); x.destroy(); x.dispose; } catch(e) {} d_<%=node.id%> = new Draggable(''<%= node.id %>'', {handle:icon_<%= node.id %>, revert:true}); //]]> </script> This works fine with Safari and IE, but not with Mozilla. Anyone got experience on this? Any help is greatly appreciated. -- Posted via http://www.ruby-forum.com/.