[jQuery] Re: Remove element, keep children

2010-01-14 Thread MonkeyGirl
Hi Gus! > One way to do this is use .appendBefore() to move the children up one level > in the DOM before the element you want to remove & then do the .remove() Thank you very much, that worked perfectly! Thanks again, Zoe.

[jQuery] Remove element, keep children

2010-01-14 Thread MonkeyGirl
Hi! Is there a way to remove an element from the DOM, like with remove(), but to keep its children? Alternatively, is there a way to move an element one branch up the tree, so when I remove what used to be its parent, it'll take its place? Thank you, Zoe.