問題描述
我目前正在使用 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模板網!