I was wondering if it's possible to create a new element as the target when using appendTo(). I could not find anything online.
For example:
$("p:even").clone().appendTo( **NEW: $(".Target").append("<div class='new'>"**) );
The point being to add the collection of objects to a new div within another element.
Not in that way. This does what you're asking but seems convoluted:
Instead, you should go for clarity, such as:
It occurs to me that I may have misinterpreted what you were asking. If you just wanted to create a new element such that you ended up with a jQuery object that you could use
appendToon, it goes like$('<div></div>').