$('table.layui-table thead tr th:eq(13)').attr('id','documentId');
$('table.layui-table thead tr th:eq(13)').attr('onclick','afunction()');
layui 表格的列名添加ID或事件
最新推荐文章于 2023-07-06 11:26:50 发布
$('table.layui-table thead tr th:eq(13)').attr('id','documentId');
$('table.layui-table thead tr th:eq(13)').attr('onclick','afunction()');