阅读背景:

JQuery UI:在非Sortable上从Sortable中删除一个项目

来源:互联网 

Here's what I'm trying to achieve: I've got two Sortable lists, with the right one connected to the left one. I want to be able to remove items from the left list, by dropping them on a trash box. I'm trying to implement the trash box as a Droppable, but on the ´drop´ event of the Droppable the Sortable still contains all of the items. This way, if I iterate on the Sortable's ´ul´ children I still encounter the item that I'm dropping. Here's what I'm trying to achieve: I've got two




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: