jquery实现移动端手机端单选多选下拉框效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery实现移动端手机端单选多选下拉框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.new.select.min.js"></script> <style> .select_type { width: 100%; height: 38px; line-height: 36px; border: 1px solid #efefef; box-sizing: border-box; font-size: 16px; } </style> </head> <body> <div class="select_type"> <input type="hidden" name="select_type" value=""> </div> <div class="select_type1" style="margin-top: 20px;"> <input type="hidden" name="select_type1" value=""> </div> <script type="text/javascript"> let list = [{ id: 1, name: '电影' }, { id: 2, name: '电视剧' }, { id: 3, name: '综艺' }, { id: 4, name: '直播' }, { id: 5, name: '少儿' }, { i.........完整代码请登录后点击上方下载按钮下载查看
网友评论0