jQuery拖放多个元素 [英] jQuery drag'n'drop multiple elements

查看:39
本文介绍了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拖放多个元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆