Bootstrap multiselect Uncaught TypeError:undefined不是函数

时间:2014-09-25 13:54:03

标签: jquery asp.net-mvc-4 bootstrap-multiselect

我使用bootstrap-multiselect创建测试应用程序。但我无法打开下拉组合框。在页面我得到exeption:Uncaught TypeError:undefined不是一个函数(匿名函数)关于:96jQuery.Callbacks.fire jquery-2.1.1.js:3073jQuery.Callbacks.self.fireWith jquery-2.1.1.js:3185jQuery。 extend.ready jquery-2.1.1.js:3391completed。我无法确定这个错误

    <link href="~/Content/bootstrap.min.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-2.1.1.js"></script>
    <script src="~/Scripts/bootstrap-multiselect.js"></script>
    <link href="~/Content/bootstrap-multiselect.css" rel="stylesheet" />

HTML代码:                                                                                         性别                                                                                                   男                                     女                                     其他                                 男性男

  • 女性
  • 其他
  •                                 性别是必需的                                                                                                            浏览器                                                                                                   谷歌浏览器                                     火狐                                     IE                                     苹果浏览器                                     歌剧                                     其他                                 未选择
  • Google Chrome
  • Firefox
  • IE
  • Safari
  • Opera
  • 其他
  •                                 请选择用于开发的2-3个浏览器                                                                                                                                             验证                                                                           

    使用Javascript:
                         $(document).ready(function(){                 $( '多选')多选()。             });         

    0 个答案:

    没有答案