layui下拉框的使用及取值

更新时间:2023-05-07 16:38:01 阅读: 评论:0

layui
下拉框的使⽤及取值<html ><head >    <meta http-equiv ="Content-Type " content ="text/html; chart=UTF-8">    <title >教学平台</title >    <script src ="/jquery/1.10.2/jquery.min.js "></script >    <link rel ="stylesheet " href ="sources/layui/css/layui.css " media ="all "></head ><body ><form class ="layui-form " action ="">    <div class ="layui-form-item ">        <label class ="layui-form-label ">教师</label >        <div class ="layui-input-block ">            <lect name ="teacher " lay-filter ="teacher " id ="teacher ">                <option value ="teacher1">teacher1</option >                <option value ="teacher2">teacher2</option >                <option value ="teacher3">teacher3</option >                <option value ="teacher4">teacher4</option >                <option value ="teacher5">teacher5</option >            </lect >        </div >    </div ></form ><script src ="sources/layui/layui.js " chart ="utf-8"></script ><script >    layui .u ('form', function  () {        var  form = layui .form ;        //各种基于事件的操作,下⾯会有进⼀步介绍    });</script ><script >    var  flag = $("#teacher").val ()</script ></body ></html >
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

本文发布于:2023-05-07 16:38:01,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/99527.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:教学   操作   平台   事件
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图