实现拖动ñ使用JQuery降 [英] Implementing Drag n Drop using JQuery

查看:101
本文介绍了实现拖动ñ使用JQuery降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个MVC应用程序,其中我要实现拖动ñ拖放功能。我也想获得源代码以及目标项目/在表/ DIV一旦该项目的记录被丢弃在一个目标的地方。然后源和目标值将被传递到控制器中定义的操作的方法来更新数据库中的相同。

I am developing a MVC application wherein I have to implement Drag n Drop functionality. I also want to get the source as well as target items/ records in the table/ div once the item is dropped on a target place. Then both the source and target values will be passed to the action method defined in the controller to update the same in the database.

任何人都可以请建议一些链接?

Can anyone please suggest some links?

推荐答案

使用 HTTP://api.jquery。 COM /连载/ 来传递您的数据和jQuery用户界面sortables http://jqueryui.com/demos/排序/ 的拖放。

Use http://api.jquery.com/serialize/ to pass your data and jQuery UI sortables http://jqueryui.com/demos/sortable/ for the drag and drop.

这篇关于实现拖动ñ使用JQuery降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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