Well, the clone will have the same ID (interestingly)... but only the
first (original) DIV will be selected if you use the id selector...

I suggest changing the ID of the clone right after you create it...

$("#div1").clone(true).attr("id", "div2").insertAfter("#div1");

Reply via email to