参考网址:https://laod.cn/code-audit/jquery-is-not-a-function.html

问题描述:

                  1.view页面引用的是jquery-1.10.2.min.js

                   2.报错  $(...).wordExport is not a function

                   3.页面初始化加载方法如下:

                      $(function () {

                          //jquery  code

                           })

 

解决方法:

            1.将上述的3修改为: 

                  jQuery(document).ready(function($){

                          //jquery  code

                    });

 

相关文章:

  • 2021-10-07
  • 2022-01-06
  • 2021-11-13
  • 2022-01-01
  • 2021-05-11
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-05-14
  • 2021-11-13
  • 2021-11-07
相关资源
相似解决方案