Uncaught TypeError: $.ajax(...).error is not a function
来源:互联网 发布:dns优化器 安卓 编辑:程序博客网 时间:2024/06/01 07:32
最近用aceAdmin,jquery文件没有使用ace包里的而是使用了3.2.1,ajax加载内容的时候就报错了:
Uncaught TypeError: $.ajax(...).error is not a function ace.js:610
经过比对jquery2.21和jquery3.2.1,找到ajax的定义,发现了一些细微的差别
3.2.1版本已经取消了ajax里的error函数,而实际上error函数和fail()是同样效果的。
如果不想换jquery,那么就拿ace.js中的
修改后
阅读全文
0 0
- Uncaught TypeError: $.ajax(...).error is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: string is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: boolean is not a function
- Uncaught TypeError: $(...).appendChild is not a function
- Uncaught TypeError: sum is not a function
- Uncaught TypeError: search is not a function
- Uncaught TypeError: $(...).Validform is not a function
- Uncaught TypeError: $(...).on is not a function
- Uncaught TypeError: $(...).customFileInput is not a function
- Uncaught TypeError: $(...).scrollTo is not a function
- Uncaught TypeError: a.beginBulkUpdate is not a function
- javascript 错误 "Uncaught TypeError: string is not a function"
- chrome浏览器Uncaught TypeError: object is not a function问题
- Yocto工具链下制作mkfs.ext4命令
- Java中StringBuffer与StringBuilder的区别
- 面包屑 分页 警告框 面板 模态框 轮播图
- Spring集成React用来开发前端----maven项目中用webpack打包react相关组件
- Glide使用心得
- Uncaught TypeError: $.ajax(...).error is not a function
- 09_char_字符串入门和boolean
- MySQL Buffer Pool
- 高级网络配置
- AsyncTask原理
- 阿里——给一个整形数组,找出其中和等于给定值的组合
- artdialog弹出框子页面和父页面的值的传递
- C++ Floyd算法
- [李景山php] HTTP Flood防御