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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to