Hello,

does anybody know the way to get the ui.helper once the sortable has
received the element? That's, ui.helper inside the 'recieve' method in
a sortable element?
If you try to access the ui.helper element, you get undefined. You can
manage to get the id of the element by getting ui.item.attr("id"), but
not the element itself. If the element happens to be dragged several
times into the sortable area, as they all are clones, they all have
the same id, so you don't know which is the specific element that has
just been recieved.

On 29 mayo, 21:22, Fontzter <[email protected]> wrote:
> I noticed that the draggable+sortablecopies the original draggable.
> In this demo the draggable has an id and that id is duplicated.
> Duplicate ids always create problems.  I added a ticket for 
> this:http://dev.jqueryui.com/ticket/4564
>
> I know this doesn't help your quest, but I don't think there is
> currently a reliable way to get the "dropped" element.  However, I
> think this ticket refers to the same issue:http://dev.jqueryui.com/ticket/4303
>
> Dave
>
> On May 29, 10:29 am, Yanick <[email protected]> wrote:
>
> > On Apr 24, 6:57 am, david <[email protected]> wrote:
>
> > > Hi,
>
> > > I am working with the 'draggable +sortable' jQuery UI example.
>
> > > I don't manage to get thereceivediteminto thesortablearea. I can
> > > access thehelper(cloneditem-ui.helper-) as well as the sourceitem
> > > ( ui.item). What i'd like to access is theitemwhich isreceivedin
> > > thesortablearea, in order to change its properties, which is not the
> > > clonedhelpernor the sourceitem.
>
> > I'm having the exact same problem here. I don't know why ui.item is
> > not the actual "received" / added item.
> > If you ever find an answer to this, or anyone as a matter of fact,
> > please share.
>
> > > Is it possible or is there a method to get thereceiveditemin 
> > > asortablearea?
>
> > > Thanks in advanced.
>
> > > David
>
> > Hope to have an answer to this.
--~--~---------~--~----~------------~-------~--~----~
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