Thanks very much. And, just to confirm, this doesn't cause any internal duplicate elements or memory problems if I do it a lot? It actually MOVES the element with no residue?
Rob On May 9, 10:48 am, duclet <[email protected]> wrote: > It should relocate as that is what this fiddle shows: > > http://jsfiddle.net/xmsgv/1/ > > On May 9, 1:36 pm, robarb <[email protected]> wrote: > > > > > Hello all. > > > Let's say I already have a paragraph (or other element) inside a div > > visible on a page. i want to move that paragraph and put it inside a > > different visible div on the page. What is the best way to do this? > > Would the .grab method (used on the second div) make a copy of the > > paragraph element or simply relocate it the way I want? I want to > > make sure I'm not making unnecessary copies of DOM elements. > > > Thanks very much. > > > Rob
