Actually seems like using $(this).text() gets me the data in the
destination row but I'd ideally want to know its Id. I've tried using
ui.draggable.text() to get the content of the dragging row but it
doesn't seem to work.

On Jan 13, 2:53 pm, Dr Funkenstein <[email protected]> wrote:
> I have another question on the same topic. How can I retrieve the data
> in the draggred row once it's dropped into adroppablerow? Similarly
> how can I know which row with what data was it dropped into?
>
> Thanks!
>
> On Jan 12, 5:05 pm, "Richard D. Worth" <[email protected]> wrote:
>
> > See
>
> >http://api.jquery.com/category/selectors/
>
> > specifically
>
> >http://api.jquery.com/class-selector/
>
> > - Richard
>
> > On Tue, Jan 12, 2010 at 7:34 PM, Dr Funkenstein <[email protected]> wrote:
> > > Thanks Jorn. How would I set the class as the selector? I'm very new
> > > to jQuery so pardon my illiteracy.
>
> > > On Jan 12, 6:34 am, Jörn Zaefferer <[email protected]>
> > > wrote:
> > > > Ids must be unique. Try using a class on each element and specifying 
> > > > that
> > > as
> > > > the selector. With multiple IDs, you'll select just the first one.
>
> > > > Jörn
>
> > > > On Fri, Jan 8, 2010 at 9:30 PM, Dr Funkenstein <[email protected]> wrote:
> > > > > Hi,
>
> > > > > I have a JavaScript script that creates atabledynamically and
> > > > > inserts thedroppablediv into each row (with id="droppable"). The
> > > > > problem is, the draggable item invokes the drop event ONLY on the
> > > > > first occurance of thedroppable(in the first row of thetable). How
> > > > > can I make it so that alldroppabledivs accept the drop event?
>
> > > > > Thanks!
>
> > > > > --
> > > > > 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]<jquery-ui%[email protected]>
> > > <jquery-ui%[email protected]<jquery-ui%[email protected]>
>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/jquery-ui?hl=en.
>
> > > --
> > > 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]<jquery-ui%[email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/jquery-ui?hl=en.
-- 
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