[笔记]datatables 按钮选取

版权声明:文人萧扬_ https://blog.csdn.net/ILoveZhc/article/details/83058924

选取datatables自动生成td中的button按钮对象

效果图

 按钮生成的方法

取得该对象的js

$("button的父元素").on("click","button",function(){}

在页面上直接添加的按钮 通过设置其name即可选取

猜你喜欢

转载自blog.csdn.net/ILoveZhc/article/details/83058924