I have two divs on my website. They both share the same css properties, but one of them holds 24 other divs. I want all of these 24 divs to be copied into the other div. Thi
Alternative in jquery You can use clone and put it in your target div. Example:
clone
$('#mydiv1').clone().appendTo('#mydiv2');
Copy #mydiv1 into #mydiv2
#mydiv1
#mydiv2