clone problem
clone problem
Hi everybody I'm in trouble with clone function. It works with this
stub of code:
//copy to .dropzone all the array .draggable
$('.draggable').clone().prependTo($('.dropzone'));
but it doesn't works if i try to copy only one element of it:
$('.draggable')[0].clone().prependTo($('.dropzone'));
why ??!!
Thank you.