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

前端 未结 14 1895

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 04:57

    I had the same issue. Changing

    $.ajax(...)
    

    to

    jQuery.ajax(...)
    

    did not work. But then I found that jQuery was included twice and removing one of them fixed the problem.

提交回复
热议问题