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

前端 未结 14 1830

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:00

    Check that jquery library not included in html that load via Ajax .remove <script src="~/Scripts/jquery[ver].js"></script> in your AjaxUpdate/get_modal

    0 讨论(0)
  • 2020-11-29 05:04

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

    0 讨论(0)
提交回复
热议问题