I have another question on the same topic. How can I retrieve the data in the draggred row once it's dropped into a droppable row? 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 a table dynamically and > > > > inserts the droppable div into each row (with id="droppable"). The > > > > problem is, the draggable item invokes the drop event ONLY on the > > > > first occurance of the droppable (in the first row of the table). How > > > > can I make it so that all droppable divs 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.