Skip to content

Challenge Clone an Element Using jQuery

SaintPeter edited this page · 1 revision
Clone this wiki locally

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.