jQuery
- 错误:
jquery.js:9612 Uncaught TypeError: url.indexOf is not a function
解答:load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners.
load , .unload, .error 等方法从1.8之后被废除,使用.on
来带取代,注册事件监听
参考:查看官方文档说明
jquery.js:9612 Uncaught TypeError: url.indexOf is not a function
load, .unload, and .error, deprecated since jQuery 1.8, are no more. Use .on() to register listeners.
.on
来带取代,注册事件监听本文标题:遇到的问题记录
本文链接:https://www.haomeiwen.com/subject/asmzdxtx.html
网友评论