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拖放多个元素


- 是否可以将标志传递给 Gulp 以使其以不同的方式 2022-01-01
- 为什么悬停在委托事件处理程序中不起作用? 2022-01-01
- 从原点悬停时触发 translateY() 2022-01-01
- 我不能使用 json 使用 react 向我的 web api 发出 Post 请求 2022-01-01
- 在不使用循环的情况下查找数字数组中的一项 2022-01-01
- 如何调试 CSS/Javascript 悬停问题 2022-01-01
- 如何向 ipc 渲染器发送添加回调 2022-01-01
- 为什么我的页面无法在 Github 上加载? 2022-01-01
- 使用 iframe URL 的 jQuery UI 对话框 2022-01-01
- 如何显示带有换行符的文本标签? 2022-01-01