JQuery-tableDnD拖拽的基本使用介绍_jquery
时间:2021-07-01 10:21:17
帮助过:6人阅读
在页面上导入js
代码如下:
jquery-1.3.2.min.js
jquery.tablednd_0_5.js
注意:一定要先导入jquery-1.3.2.min.js 否则出错。
·建table
代码如下:
| 1 | One | some text |
| 2 | Two | some text |
| 3 | Three | some text |
| 4 | Four | some text |
| 5 | Five | some text |
| 6 | Six | some text |
·插入js代码
代码如下: