Uncaught TypeError:Illegal invocation

                   Uncaught TypeError:Illegal invocation


转载:https://blog.csdn.net/phoenix_smf/article/details/79000543

Uncaught TypeError:Illegal invocation: 
中文意思是:未捕获的异常:非法调用

 
我是在使用ajax发送请求时出现的这个错误,

参考:https://www.cnblogs.com/cici20166/p/7040083.html 
我自己也发现我的ajax传入参数有错误 


如图所示,description这个变量我没有对它赋值,经过给它赋值测试确实是这个原因。 
另外:https://stackoverflow.com/questions/10232811/illegal-invocation-error 
这个大概也是参数类型不对,总结,ajax传入参数不符合要求会产生Uncaught TypeError:Illegal invocation错误,不排除有其他可能性。
 

猜你喜欢

转载自blog.csdn.net/xiao__jia__jia/article/details/83033440
今日推荐