Online demo: http://demo.jb51.net/js/2012/jqueryAutoAddDeleteTableTr/jqueryAutoAddDeleteTableTr_leftClick.html
//Left click
jQuery 动态增删表格
向上增加一行
修改当前一行
向下增加一行
删除当前行
jqueryAutoAddDeleteTableTr_rightClick.html//右键(含屏蔽浏览器右键功能)
jQuery 动态增删表格
向上增加一行
修改当前一行
向下增加一行
删除当前行
jqueryAutoAddDeleteTableTr_leftClick_addsearch.html//左键添加查询功能
jQuery 动态增删表格
向上增加一行
修改当前一行
向下增加一行
删除当前行
PS:
var addToTrTop = 10;
var addToTrLeft = 534;
var addToTdLeft = 60; //If addToTdLeft is set, addToTrLeft will be invalid
indicates prompt DIV clickTips The offset from the top and left of the current tr can be modified by yourself. It can be a negative number to move up or to the left.
Software download:
Download Author: Zjmainstay
Source: http://www.cnblogs.com/Zjmainstay/