Error: TypeError: $(…).dialog is not a function

后端 未结 7 1688
半阙折子戏
半阙折子戏 2020-11-27 06:29

I am having an issue getting a dialog to work as basic functionality. Here is my jQuery source imports:



        
7条回答
  •  盖世英雄少女心
    2020-11-27 06:58

    I just experienced this with the line:

    $('
    ').dialogelfinder({

    I got the error "dialogelfinder is not a function" because another component was inserting a call to load an older version of JQuery (1.7.2) after the newer version was loaded.

    As soon as I commented out the second load, the error went away.

提交回复
热议问题