cloning divs are not not working in IE using jquery clone()

dieter_szameit

New Member
I am trying to clone divs and append them into container divs. The solution i have works fine in Chrome but does not run at all in IE. I have tried researching this and even asked about this problem but couldnt really find a working solution. Does anyone have any suggestion? This is what I have so farThe html looks somewhat like this\[code\]<div class="holdOne"></div><div class="holdTwo"></div><div class="holdThree"></div><div class="productHolder"> <div class="product"></div> <div class="product"></div> <div class="product"></div> <div class="product"></div> <div class="product"></div> <div class="product"></div></div>\[/code\]jquery\[code\]$(function() { $('.productHolder .product').eq(0).clone().appendTo('.holdOne'); $('.productHolder .product').eq(1).clone().appendTo('.holdOne'); $('.productHolder .product').eq(2).clone().appendTo('.holdOne'); $('.productHolder .product').eq(1).clone().appendTo('.holdTwo'); $('.productHolder .product').eq(2).clone().appendTo('.holdTwo'); $('.productHolder .product').eq(3).clone().appendTo('.holdTwo'); $('.productHolder .product').eq(0).clone().appendTo('.holdThree'); $('.productHolder .product').eq(5).clone().appendTo('.holdThree'); $('.productHolder .product').eq(4).clone().appendTo('.holdThree');});\[/code\]
 
Back
Top