转自:http://haoningabc.iteye.com/blog/1593640

dragsort官网地址:http://dragsort.codeplex.com/

html代码如下(需引入jquery和dragsort.js):

    <html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="jquery.dragsort-0.5.2.min.js"></script>
</head>
<body>
<table id="list1" border="1">
<thead id="gridThead">
<tr style="cursor: pointer;">
<td class="listHeadCell">编号</td>
<td class="listHeadCell">名称</td>
</tr>
</thead>
<tbody id="gridtbody">
<tr>
<td name="biaozhi">1</td>
<td>名称1</td>
</tr>
<tr>
<td name="biaozhi">2</td>
<td>名称2</td>
</tr>
<tr>
<td name="biaozhi">3</td>
<td>名称3</td>
</tr>
<tr>
<td name="biaozhi">4</td>
<td>名称4</td>
</tr>
</tbody>
</table>
<br/>
<textarea name="listhaoSortOrder" id="listhaoSortOrder" rows=10 cols=100></textarea>
<script type="text/javascript">
$(document).ready(function(){
$("#gridtbody").dragsort({ itemSelector: "tr", dragSelector: "tr", dragBetween: true,dragEnd: saveOrder1, placeHolderTemplate: "<tr></tr>" });
});
function saveOrder1() {
// var data = $("#gridtbody").map(function() { return $(this).children().html(); }).get();
var data = $("[name='biaozhi']").map(function() { return $(this).html(); }).get();
$("#listhaoSortOrder").val(data.join("|"));
};
</script>
</body>
</html>

代码运行效果截图:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1YAAAGpCAIAAAABZTDZAAAT9UlEQVR4nO3dMY7jZpqAYd6Cx1DAQ/QdDCjhHeYQTHiEOoAXiyGwYDQYNDB9ACdKiA1m4AF25IWBdWBgQm3AJotkkRRVXVLT+p4HCtpqVfMnnLz4fv6q5AIAQDDJ914AAACPJgEBAMKRgAAA4UhAAIBwJCAAQDgSEAAgHAkIABDONAE/8/nz58+ff/jhh+/y/wMA4AFmEvB7LGN3JCAA8MQk4DwJCAA8scUE/OFRHn/FFcPFPOZ/AADA460l4GNWsKvq2tViAADuRAKO7GoxAAB3IgFHdrUYAIA7kYAju1oM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DAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAIKhDAACCOgQAWLq//OUvpz+rQwCARfvb3/725z//+fQ/1SEAAEEdAgAs1OmCsivLAABLd7qg7MoyAABXqUMAgGV5eUHZlWUAgIU6XUf+/fff//SnPx1cWQYA4IYPrMM//v6Pt//TAABk88ff//FRdfjPf/7vf/3x/3x8fHx8fHx8fL7W55///N8PqUMAABZLHQIAENQhAABBHQIAENQhAABBHQIAENQhAABBHQIAENQhAADh/wPR6+TuXOfH9QAAAABJRU5ErkJggg==" alt="" />

jquery dragsort table实现拖拽排序的更多相关文章

  1. jquery拖拽排序,针对后台列表table进行拖拽排序(超实用!)

    现在很多后台列表为了方便均使用拖拽排序的功能,对列表进行随意的排序. 话不多说 ,我在网上找了一些demo,经过对比,现在把方便实用的一个demo列出来,基于jqueryUI.js 先上html代码, ...

  2. jquery.dragsort.js 实现拖拽过程遇到的问题

    .在IE下第一次拖动的时候,被拖动的li元素会不显示,查了很多资料发现是因为在IE中定位出了问题,li标签还在,只是位置计算出错.解决的办法是在li的css样式中position设置为relative ...

  3. dragsort html拖拽排序

    一.Jquery List DragSort 对于有些页面,如首页的定制,需要进行动态的拖拽排序.由于自己实现比较困难,我们一般会使用一些js插件来实现.dragsort 就是帮助我们完成这一需求.通 ...

  4. jQuery可拖拽排序列表jquery-sortable-lists

    jquery-sortable-lists可以通过鼠标进行拖动排列树型菜单,可以定义某个列表元素是否拖动,拖动后回调,点击可以折叠树型结点,可以用来在后台模仿wordpress后台拖动菜单,实现多级菜 ...

  5. jquery sortTable拖拽排序

    所有的事件回调函数都有两个参数:event和ui,浏览器自有event对象,和经过封装的ui对象   ui.helper - 表示sortable元素的JQuery对象,通常是当前元素的克隆对象   ...

  6. js 实现table表格拖拽和点击表头升降序排序

    js 实现table表格拖拽和点击表头升降序排序,写的比较乱,用的时候可以把其中的一些模块函数提取出来 样式,由于是可拖拽表格,所以样式 table tr th{cursor:move;} js实现 ...

  7. 使用knockout-sortable实现对自定义菜单的拖拽排序

    在开始之前,照例,我们先看效果和功能实现. 关于自定义菜单的实现,这里就不多说了,需要了解的请访问:http://www.cnblogs.com/codelove/p/4838766.html 这里需 ...

  8. php接口实现拖拽排序功能

    列表拖拽排序是一个很常见的功能,但是后端接口如何处理却是一个令人纠结的问题 如何实现才能达到效率最高呢 先分析一个场景,假如有一个页面有十条数据,所谓的拖拽就是在这十条数据来来回回的拖,但是每次拖动都 ...

  9. easyui树节点拖拽排序的存储过程

    easyui树的拖拽排序功能 easyui树中有拖拽功能 树结构如下: 一个行政区域对应一个单位,一个单位对应多个部门,每个部门下有相关人员,功能要求: (1)行政区域没有子节点,点击text加载部门 ...

随机推荐

  1. YII 数据库相关操作

    CDbConnection: 一个抽象数据库连接CDbCommand: SQL statementCDbDataReader: 匹配结果集的一行记录CDbTransaction:数据库事务 访问数据库 ...

  2. linux 的一个防火墙策略

    #警告:在运行脚本后,勿必单独运行 iptables -F#因为脚本包含的默认规则为“禁止所有访问”#当其它规则被清除后,系统表现为无法访问状态,需要重启系统恢复#iptables -L 查看当前已应 ...

  3. 1、Python django 框架下的word Excel TXT Image 等文件的上传

    1.文件上传(input标签) (1)html代码(form表单用post方法提交) <input class="btn btn-primary col-md-1" styl ...

  4. 用Xamarin和Visual Studio编写iOS App

    一说开发 iOS app,你立马就会想到苹果的开发语言 Objective C/Swift 和 Xcode.但是,这并不是唯一的选择,我们完全可以使用别的语言和框架. 一种主流的替换方案是 Xamar ...

  5. 原生js实现tab选项卡里内嵌图片滚动特效代码

    <!DOCTYPE HTML><html lang="en-US"><head><meta charset="UTF-8&quo ...

  6. http server v0.1_http_server.c

    /**************************************************************** filename: http_server.c author: xx ...

  7. 机械硬盘与SSD固态硬盘性能的深度

    从7200转硬盘升级到10000转的迅猛龙,那叫量变.从10000转的迅猛龙升级到SSD,这个叫质变.2者的差距是有些地方相当大,而有些却很接近,主要是难比较. 经常听到有人说:我买2个黑盘组RAID ...

  8. javascript for

    var k = ["a", "b", "c", false]; for(var i = 0, m; m = k[i]; i++) { con ...

  9. [Quote]Creating basic Excel workbook with Open XML

    Creating basic Excel workbook with Open XML [Quote from]http://www.codeproject.com/Articles/371203/C ...

  10. 在Windows下读取Ext4分区

    转自在Windows下读取Ext4分区 本文介绍两个能在 Windows 下读取ext4分区的软件. 第一个是 Ext2Read.它能查看 ext2/3/4 分区并从中拷贝文件和目录,支持 LVM2 ...