jquery3.1.1报错Uncaught TypeError: a.indexOf is not a function

2023-05-25,,

jquery3.1.1报错Uncaught TypeError: a.indexOf is not a function

使用1.9就没有问题,解决办法:

就是把写的代码中:

$(window).load(function(){...});

换成:

$(window).on('load', function(){ ...});

原文链接:https://stackoverflow.com/questions/38871753/uncaught-typeerror-a-indexof-is-not-a-function-error-when-opening-new-foundat

jquery3.1.1报错Uncaught TypeError: a.indexOf is not a function的相关教程结束。

《jquery3.1.1报错Uncaught TypeError: a.indexOf is not a function.doc》

下载本文的Word格式文档,以方便收藏与打印。