JQuery UI sortables / draggable clone not working?

Instead of ui. Item which is the original, you want ui. Helper here, which is the clone.

Also, you can cut down on overall code and selector work by using appendTo() instead, like this.

Instead of ui. Item which is the original, you want ui. Helper here, which is the clone.

Also, you can cut down on overall code and selector work by using .appendTo() instead, like this: $('#inputs_menu li ul'). Sortable({ connectWith: "ul#layout_form", }). DisableSelection(); $('#inputs_menu li ul li').

Sortable({ helper: "clone" }). DisableSelection(); $('#layout_form' ). Sortable({ receive: function(event, ui) { var new_item = ui.helper.id.

Substr(4); $('') . AppendTo('#layout_form') . Find("div").

Load('includes/text. Php? Fld_name='+new_item); } }).

DisableSelection().

Test the updated version which doesn't rely on it as a selector...if you're ending up with duplicated IDs then that's your issue, and you need to make them unique (or don't use them on the new element, they can simply be removed in my version above). – Nick Craver? Dec 1 '10 at 9:07 Again thanks Nick, but sadly no joy, what I find strange is that if I try to use helper: clone in #inputs_menu li ul nothing, but if I "redeclare" #inputs_menu li ul li as a sortable then it seems to work (i.i.

The clone) – rmap Dec 1 '10 at 9:15 @rmap - The original definitely shouldn't be dissapearing with the method above, since we're creating a new element, do you have an example page with your markup? – Nick Craver? Dec 1 '10 at 9:18 Nick I have simplified the page like this: LIST ONE Header 1">.

Png" width="16px" height="16px" alt="Input type icon" /> LIST TWO – rmap Dec 1 '10 at 9:26.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions