Butstrap3 error (...).modal is not a function



  • I'm trying to tie an event to open a fashion window in a boutstrap3:

    $('#main_footer').on('click',function(){
        $('#load_new_file_ok2').modal('show');
    });
    

    But when the evidence is on the element, it makes a mistake:

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

    If it's connected with the attributes, it's all working, but it's js that I don't have to show the processors, hide, etc. Maybe it's not like I hooked up, it doesn't come into my head.



  • jQuery.noConflict();
    

    After adding this line, it's all working, so I understand there's something conflicting about, how to know what, and then I can't face it?




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2