Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 250 Bytes

Clone an Element Using jQuery

jQuery has a function calledclone() that makes a copy of an element.

For example, if we wanted to copy target2 from our left-well to our right-well, we would use $("#target2").clone().appendTo("#right-well");

Something went wrong with that request. Please try again.