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>
> .
> 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.

Reply via email to