bootstrap多选实例

所属分类:输入-选择框

 30682  317  查看评论 (14)
分享到微信朋友圈
X
bootstrap多选实例 ie兼容10
相关插件-选择框

jQuery下拉框插件jquery.select.js

jQuery自定select下拉框样式插件jquery.select.js
  选择框
 98663  373

jQuery下拉框多选

下拉字母多选框
  选择框
 94404  361
  选择框
 62309  501

jQuery地区选择(三级联动)

jQuery中国地区选择(最新地区数据全)三级联动插件
  选择框
 39576  312

讨论这个项目(14)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    0
    2021/6/21 17:35:20
    这个宽度能不能自适应啊? 回复
    托邦的读书笔记 0
    2020/9/15 14:34:00
    bootstrap-select.js:820 Uncaught TypeError: Cannot read property '0' of undefined
    at scroll (bootstrap-select.js:820)
    at Selectpicker.createView (bootstrap-select.js:758)
    at Selectpicker.setSize (bootstrap-select.js:1705)
    at HTMLButtonElement.<anonymous> (bootstrap-select.js:1992)
    at HTMLButtonElement.dispatch (jquery.min.js:3)
    at HTMLButtonElement.r.handle (jquery.min.js:3)
    scroll @ bootstrap-select.js:820
    createView @ bootstrap-select.js:758
    setSize @ bootstrap-select.js:1705
    (anonymous) @ bootstrap-select.js:1992
    dispatch @ jquery.min.js:3
    r.handle @ jquery.min.js:3 回复
    托邦的读书笔记 0
    2020/9/15 14:32:45
    有遇到这个问题的吗?怎么解决的Uncaught TypeError: Cannot read property '0' of undefined
        HillMing0
        2022/3/28 15:24:41
        我也遇到此问题,这问题您解决了吗?
    回复
    叶神 0
    2019/10/15 15:41:49
    这个怎么设置默认值啊
    ,就是设置默认勾选的
        SasenyZhou1
        2019/10/15 15:47:25

        $('.selectpicker').selectpicker('refresh');

        前加

        $('.selectpicker').selectpicker('val', ["湖北", "山东"]);

        设置默认选择

    回复
    っほ蕞初^泠暖 0
    2019/7/24 17:16:42
    想获取文本怎么做
        灭霸媳妇0
        2019/7/24 17:49:48
        $('#id_select').selectpicker('val'); 结果值
    回复
    ( ? ?ω?? )? 0
    2019/6/21 16:30:36
    怎么赋值上去呀 回复
    停下浮躁的心 0
    2019/1/14 16:32:41
    查询江,出来江苏是蓝底白字,点江西,江苏江西都打勾了,但是选择框只有江西
        xoaxoa220
        2019/11/28 17:32:08
        你解决这个问题了吗?
        xx0
        2020/11/25 14:47:49
        跪求解决方法
        xx1
        2020/11/25 15:39:02

        已解决,bootstrap-select.js里面搜索if (!retainActive),注释掉里面的

        that.activeIndex = undefined;
        Joker.x0
        2023/2/13 18:22:43
        勾取消了 但还是有背景
    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复