ecshop中使用Jquery特效报错“b.replace is not a function”
来源:互联网 发布:ubuntu登录界面卡死 编辑:程序博客网 时间:2024/06/05 15:00
将ecshop二次开发中,使用jQuery特效的时候
结果运行始终提示js错误:
TypeError: b.replace is not a function
...end.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,comp...
最后发现是transport.js文件中的
Object.prototype.toJSONString = function () {}
引起的。
删除该函数会影响其它的地方,那该怎么办呢,有一个好办法可以解决.
delete(Object.prototype.toJSONString);
将该语句放在js文件的开始位置就可以了。
0 1
- ecshop中使用Jquery特效报错“b.replace is not a function”
- ecshop中使用ueditor(或其他特效)報錯:b.replace is not a function/b[d].split is not a function
- jQuery中live()使用报错,TypeError: $(...).live is not a function
- jQuery中live()使用报错,TypeError: $(...).live is not a function(转)
- ajaxFileUpload报错jQuery.handleError is not a function
- jquery 报错 e.nodeName.toLowerCase is not a function
- ajaxFileUpload报错jQuery.handleError is not a function
- ajax返回String类型导致的flowplayer报错p.replace is not a function问题
- animate is not a function(zepto 使用报错)
- Layui 中使用vaildate 报错 $(#form).validate is not a function
- js 报错 $ is not a function
- html.replace is not a function
- $.plot is not a function 和 jQuery(document)中jQuery is not a function
- 项目中引用jQuery插件报$.xxx is not a function
- jQuery.form Ajax无刷新上传报错 (jQuery.handleError is not a function) 解决办法
- jQuery.form Ajax无刷新上传报错 (jQuery.handleError is not a function) 解决办法
- jquery.js里面报错Uncaught TypeError: a.indexOf is not a function
- TypeError: a(...).live is not a function(jquery.unobtrusive-ajax.min.js 引入报错)
- Activity与Service交互
- 元素自适应宽度、换行
- 为什么不去创业——Why to Not Not Start a Startup
- 调用WCF接口时出现“格式化程序尝试对消息反序列化时引发异常....”
- Android开发错误汇总
- ecshop中使用Jquery特效报错“b.replace is not a function”
- 【cocos2d-x从c++到js】使用cocos2d-console工具转换脚本为字节码
- What is the location of the directory of C header files that match your running kernel?
- JS阻止多次提交
- 【cocos2d-x从c++到js】使用FireFox进行JS远程调试
- 冒泡排序(方法名:bubbleSort) 与 归并排序(mergeSort)
- 外排序
- 给view button 设置圆角
- EL表达式