use the onChange handler to set a variable with the ID of the draggable element, then you can use that variable inside the onUpdate handler :) -Jaimz -----Original message----- From: APaella apaella-whZMOeQn8C0@public.gmane.org Date: Mon, 17 Jul 2006 10:57:32 -0400 To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Spam] [Rails-spinoffs] Sortable> Is there a way to know what is the ID of the element during the onUpdate > handler? > I''ve seen in Draggable and the notify(''onEnd''9 function, but I''m not > able to register an handler on this function. > > Tkz! > Chiacchiera con i tuoi amici in tempo reale! > http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
jaimz wrote:> use the onChange handler to set a variable with the ID of the draggable element, then you can use that variable inside the onUpdate handler :)tkz! please excuse me for the stupid question :) Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
the only stupid question is the one you don''t try to get an answer for. the only reason i knew the answer was because i had the same question myself, just last week! unfortunatly i had to answer it on my own! -Jaimz -----Original message----- From: APaella apaella-whZMOeQn8C0@public.gmane.org Date: Mon, 17 Jul 2006 12:12:31 -0400 To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Spam] [Rails-spinoffs] Sortable> jaimz wrote: > > use the onChange handler to set a variable with the ID of the draggable element, then you can use that variable inside the onUpdate handler :) > > tkz! please excuse me for the stupid question :) > Chiacchiera con i tuoi amici in tempo reale! > http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs