我目前正在使用 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拖放多个元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
在 javascript 认为文档“准备好"之前,如何让How can I get my jasmine tests fixtures to load before the javascript considers the document to be quot;readyquot;?(在 javascript 认为文档“准备好
jasmine 运行和等待实际上是做什么的?What do jasmine runs and waitsFor actually do?(jasmine 运行和等待实际上是做什么的?)
如何提供模拟文件来更改 <input type='filHow to provide mock files to change event of lt;input type=#39;file#39;gt; for unit testing(如何提供模拟文件来更改 lt;input type=filegt; 的事
如何使用 Jasmine 对链式方法进行单元测试How to unit test a chained method using Jasmine(如何使用 Jasmine 对链式方法进行单元测试)
如何将 $rootScope 注入 AngularJS 单元测试?How do I inject $rootScope into an AngularJS unit test?(如何将 $rootScope 注入 AngularJS 单元测试?)
Jasmine - 如何监视函数中的函数调用?Jasmine - How to spy on a function call within a function?(Jasmine - 如何监视函数中的函数调用?)