Do you mean droppable.element.id?> -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org[mailto:rails-spinoffs-> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Louis Walch > Sent: Tuesday, February 07, 2006 11:38 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] ajax.Updater w/ JS content > > thanks, i misunderstood. > > droppable.id in the function is coming through as "undefined" it doeshave> an id > >
bingo how come draggable.id worked without element in there?> Do you mean droppable.element.id? > >> -----Original Message----- >> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs- >> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Louis Walch >> Sent: Tuesday, February 07, 2006 11:38 AM >> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> Subject: Re: [Rails-spinoffs] ajax.Updater w/ JS content >> >> thanks, i misunderstood. >> >> droppable.id in the function is coming through as "undefined" it does > have >> an id >> >> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
> bingo > > how come draggable.id worked without element in there? >No idea. Is draggable a reference to the draggable object or to the DOM element being dragged? I didn''t really look at your code; I just figured you meant droppable.element.