Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
获取droppable中的所有元素
示例:如果我将十个元素拖动到可放置并删除三个,当单击按钮时,它会识别可放置内的元素。有人知道怎么做吗?我认为其他人面临这个问题。
谢谢大家。
您的问题可以措辞更好,您可以显示一些代码,以便我们可以更好地提供帮助。
在不知道您的设置如何的情况下,我猜想像
$('#dropped-container .draggable-items').each(function() { $(this).whateverYouWantToDo(); });