js(JQuery)引入select2
2021-02-15 17:25
标签:http javascrip option 选择 col back jquery ack 引入 官方项目地址:https://select2.org/ 引入css和js 使用 js(JQuery)引入select2 标签:http javascrip option 选择 col back jquery ack 引入 原文地址:https://www.cnblogs.com/pxblog/p/12982929.htmllink href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js">script>
select id="school" name="school" >
option value="小学">小学option>
select>
script type="text/javascript">
$(‘#school‘).select2({
placeholder: ‘请选择学校‘
});
script>
文章标题:js(JQuery)引入select2
文章链接:http://soscw.com/index.php/essay/55759.html