📜  e.indexOf 不是 k.fn.init.k.fn.load 中的函数 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:02.832000             🧑  作者: Mango

代码示例1
This error might be caused by the jQuery event-aliases like .load(),
.unload() or .error() that all are deprecated since jQuery 1.8. Lookup 
for these aliases in your code and replace them with the .on() method
instead. For example, replace the following deprecated excerpt:

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

with the following:

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