jquery clone div and append it after specific div

Solution 1:

You can use clone, and then since each div has a class of car_well you can use insertAfter to insert after the last div.

$("#car2").clone().insertAfter("div.car_well:last");

Solution 2:

try this out

$("div[id^='car']:last").after($('#car2').clone());