asked on February 3, 2015
Hi,
I am using clone() to create a deep copy of the set of elements .But the problem is after inserting inside a section , It is being added on top of the section instead of bottom .It means it should to be the last part inside a section not the first one .
this is my code :
$orginal is a div with all contents .
var $cloned = $orginal.clone();
var $taregt = $('li[attr=...] div.kx-repeatable div.form-q').last() ;
$cloned .insertAfter($taregt ) ;
Thanks.
0
0