layui the configuration

First, how to select all table each record

First, set a unique id to a table of the parent class 
filter Alias -table div.layui-table-table-fixed- fixed.layui- L following elements i 
var BBCC = $ ( ' # Alias-table-div.layui the table- Fixed--Table-fixed.layui L 
  div.layui-Table-cell.laytable-Cell-1-0-0.laytable-CELL- CheckBox 
  div.layui -unselect.layui CheckBox-form-I ' ) 

bbcc.each ( function (index, Element) { 
element.click (); 
});

 

Guess you like

Origin www.cnblogs.com/weilaibuxiangshuo/p/11404657.html