Skip to content

Challenge Use AppendTo To Move Elements With JQuery

Rafael J. Rodriguez edited this page May 15, 2016 · 1 revision

Challenge Use appendTo to Move Elements with jQuery

jQuery has a function called appendTo() that allows you to select HTML elements and append them to another element.

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

Clone this wiki locally