//1.form表单
<div class="xd-temp-container layui-form layui-row have-must form">
<div class="item" style="display: none">
<label class="layui-form-label">编号:</label>
<div class="layui-input-block">
<input type="text" id="otherId" name="otherId" autocomplete="off" class="layui-input" maxlength="20" placeholder="请输入">
</div>
</div>
<div class="item">
<label class="layui-form-label">编号:</label>
<div class="layui-input-block">
<input type="text" autocomplete="off" id="otherBh" name="otherBh" class="layui-input" maxlength="20" placeholder="请输入">
</div>
</div>
<div class
Layui弹出框确定按钮自定义验证规则及监听提交
最新推荐文章于 2024-08-11 15:42:10 发布
本文介绍了如何在Layui中为弹出框的确认按钮添加自定义验证规则,并详细讲解了监听表单提交事件的方法,以确保在用户输入满足特定条件时才允许提交。
摘要由CSDN通过智能技术生成