On Feb 24, 2:21 am, Walter Lee Davis <wa...@wdstudio.com> wrote:
> I believe this is a requirement -- that I not use remove -- because  
> the elements I'm trying to move around all have form element observers  
> attached directly to their children, and I am pretty sure this will  
> mess me up. Please let me know if that's not true and I don't need to  
> worry.

You don't have to remove elements to move them. Just append them to
their new parent, that's it:

  $('foo').appendChild($('bar'));

or in plain terms:

 
document.getElementById('foo').appendChild(document.getElementById('bar'));

<URL: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-184E7107 >


--
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to