layui checkbox 分页+缓存记录已选项,动态设置选项

本文介绍了如何在layui中处理checkbox分页并实现选中项的缓存,通过示例代码展示了在index.html和my.js中的关键操作。
摘要由CSDN通过智能技术生成

layui checkbox 分页缓存记录已选项
index.html文件

<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head   th:with="title='管理'">
    <link rel="stylesheet" th:href="@{/layui/layui-2.5.4/css/layui.css}"></link>
    <script type="text/javascript" th:src="@{/js/jquery/jquery-1.8.3.min.js}"></script> 
    <script th:src="@{/layui/layui-2.5.4/layui.js}"></script>
    </head>
<body class="bg">
	  <div class="layui-row">
          <input  id="idsArray" name="idsArray" hidden="true"/>
           <table  class="layui-table" lay-filter="cashBackGoodsList" id="cashBackGoodsList" ></table>
           <script type="text/html" id="barDemo">
               <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
               <a c
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值