$(...).wordExport is not a function
阿新 • • 發佈:2018-07-03
func ready view function cti 修改 報錯 jquer html
參考網址: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
});
$(...).wordExport is not a function