帝王谷资源网 Design By www.wdxyy.com

如下所示:

<!DOCTYPE html>
<html>
<head>
<title>排课设置</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<link rel="stylesheet" href="/vendor/layui/css/layui.css" rel="external nofollow" media="all">
</head>
<body>
<div class="layui-form" lay-filter="boardFilter">
<hr>
<div class="layui-form-pane layui-tab-content" style="margin: -10px auto;">
<div class="layui-inline">
<label class="layui-form-label" style="width: 100px;">查询内容</label>
<div class="layui-input-inline" style="width: 250px;">
<input class="layui-input" name="schName" placeholder="请输入学校名称" id="schName" autocomplete="off">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label" style="width: 100px;">学期</label>
 <div class="layui-input-inline" style="width: 200px;">
<select name="termId" id="termId">

</select>
 </div>
</div>
<div class="layui-inline">
<label class="layui-form-label" style="width: 100px;">列表状态</label>
 <div class="layui-input-inline" style="width: 150px;">
<select name="msgType" id="msgType">
<option value="">全部状态</option>
<option value="1">申请中</option>
 <option value="2">确认申请</option>
 <option value="3">已经发布</option>
 <option value="0">已撤销</option>
</select>
 </div>
</div>
<div class="layui-inline toolbarBtn">
<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" lay-filter="getSearch" id="getSearch" name="getSearch"><i class="layui-icon">&#xe615;</i> 查询</button>
</div>
</div>
</div>
<table class="layui-table" id="infoTable" lay-filter="filterTable"></table>
<script type="text/javascript" src="/UploadFiles/2021-04-02/jquery-1.11.3.min.js">

以上这篇layui Ajax请求给下拉框赋值的实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

标签:
layui,Ajax,下拉框,赋值

帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com