clone repeats multiple times if a class but works properly if an id
Hi,
I am trying to clone some html after each
driver-report-driver class name, this works fine if I target the name as an ID of
report_topper_head but it repeats multiple times between if it targets a class of
report_topper_head
Problem is, I can't have the same ID name throughout my code
$("#report").click(function() {
$(".report_topper_head").clone().insertAfter(".driver-report-driver");
});