Removing cloned elements

Is it possible to delete elements that have been cloned.  Below does not seem to work the way I expect.

http://jsfiddle.net/isogunro/vj5489ye/12/
LVL 5
IsaacSharePoint Client Side DeveloperAsked:
Who is Participating?
 
Tom BeckConnect With a Mentor Commented:
To remove #DisplayQueue for example from the clone would look like this:

$(copyFilterBy).remove("#DisplayQueue");
0
 
James BilousSoftware EngineerCommented:
Why not just append the object to the parent rather than cloning and removing it?
0
 
IsaacSharePoint Client Side DeveloperAuthor Commented:
In my real project, I have to clone some elements and store it somewhere else. The problem is that the elements I'm cloning is wrapped in a div and in that div are several other div's.  I don't want all the divs so I want to remove the one's I don't need.  I'm basically trying to remove elements from what I cloned.
0
All Courses

From novice to tech pro — start learning today.