jQuery
- 錯(cuò)誤:
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
來帶取代,注冊(cè)事件監(jiān)聽
參考:查看官方文檔說明