1

My jsfiddle is http://jsfiddle.net/aNreg/44/

Now I can drag and drop some elements, but I want to reject one element from container.

4

1 回答 1

1

Please check updated code:

http://jsfiddle.net/aNreg/111/

Your divs had the same id shoppingCart1 and droppable function can be added to selector .shoppingCart ol instead of each id.

于 2013-09-18T11:09:07.683 回答