I got it! I wasn't passing the ui as a parameter to the drop function which is why the call to ui.draggable was failing.
On Jan 13, 3:04 pm, Dr Funkenstein <asa...@shaw.ca> wrote: > 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 <asa...@shaw.ca> 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" <rdwo...@gmail.com> 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 <asa...@shaw.ca> 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 <joern.zaeffe...@googlemail.com> > > > > 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 <asa...@shaw.ca> 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 jquery...@googlegroups.com. > > > > > > To unsubscribe from this group, send email to > > > > > > jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> > > > > <jquery-ui%2bunsubscr...@googlegroups.com<jquery-ui%252bunsubscr...@googlegroups.com> > > > > > > > . > > > > > > 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 jquery...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> > > > > . > > > > 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 jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.