I was wrong. My method was only giving me the UL that the sortable came from. I need to know the id of what was dragged and dropped from one list to another. onUpdate fires but it how do I get the info from it?
On Thu, May 7, 2009 at 5:32 AM, Walter Lee Davis <wa...@wdstudio.com> wrote: > > Well, you seem to have an answer right there in your code. > >> onUpdate:function(list){ alert( list.id + ': ' + list.down().id); } > > Walter > > > On May 6, 2009, at 6:10 PM, HostRail wrote: > >> >> How can I get the element id of a Sortable after I drop in a LI from >> another Sortable? >> I got the dragging element id with >> >> onUpdate:function(list){ alert(list.down().id); } >> >> but how can I get the ID of where it is dropped???? >> Any help on this would be awesome >> >> > > > > > > -- -- HostRail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---