TypeError: $(…).modal is not a function with bootstrap Modal

前端 未结 14 1897

I have a bootstrap 2.32 modal which I am trying to dynamically insert into the HTML of another view. I\'m working with Codeigniter 2.1. Following Dynamically inserting a boo

14条回答
  •  感动是毒
    2020-11-29 05:04

    For me, I had //= require jquery after //= require bootstrap. Once I moved jquery before bootstrap, everything worked.

提交回复
热议问题