Bootstrap modal: is not a function

后端 未结 13 2207
滥情空心
滥情空心 2020-12-02 17:45

I have a modal in my page. When I try to call it when the windows load, it prints an error to the console that says :

$(...).modal is not a function
         


        
13条回答
  •  悲哀的现实
    2020-12-02 18:42

    change the order of the script

    Because bootstrap is a jquery plugin so it require Jquery to execute

提交回复
热议问题