jQuery drag#39;n#39;drop multiple elements(jQuery拖放多个元素)
问题描述
我目前正在使用 jquery 和 php 开发 Web 文件浏览器.我的一个子任务是能够选择几个文件/文件夹并将它们放到另一个文件夹中.
I'm currently developing a web file browser using jquery and php. One of my sub-tasks is to be able to select a couple of files/folders and drop them into another folder.
根据我的研究,我发现 jquery ui 具有可拖动和可放置的功能,可以完成 80% 的工作.
应该怎么做才能选择几个元素并删除它们?可以使用 jquery ui 中现有的可拖动/可放置插件来完成吗?如果不能,你能推荐任何可以完成工作的 jquery 插件吗?
From my research I see that jquery ui has draggable and droppable which do the work at 80%.
What should be done to be able to select a couple of elements and drop them?
Can it be done with the existing draggable/droppable plugins from jquery ui?
If not can you recommend any plugins for jquery that can do the work?
推荐答案
怎么样http://www.myphpetc.com/2009/11/jquery-ui-multiple-draggable-plugin.html
这篇关于jQuery拖放多个元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:jQuery拖放多个元素


基础教程推荐
- 悬停时滑动输入并停留几秒钟 2022-01-01
- 有没有办法使用OpenLayers更改OpenStreetMap中某些要素 2022-09-06
- 当用户滚动离开时如何暂停 youtube 嵌入 2022-01-01
- 响应更改 div 大小保持纵横比 2022-01-01
- Karma-Jasmine:如何正确监视 Modal? 2022-01-01
- 动态更新多个选择框 2022-01-01
- 在for循环中使用setTimeout 2022-01-01
- 在 JS 中获取客户端时区(不是 GMT 偏移量) 2022-01-01
- 我什么时候应该在导入时使用方括号 2022-01-01
- 角度Apollo设置WatchQuery结果为可用变量 2022-01-01