showing results for - "e indexof is not a function"
Juan Martín
21 Apr 2019
1This error might be caused by the jQuery event-aliases like .load(),
2.unload() or .error() that all are deprecated since jQuery 1.8. Lookup 
3for these aliases in your code and replace them with the .on() method
4instead. For example, replace the following deprecated excerpt:
5
6$(window).load(function(){...});
7
8with the following:
9
10$(window).on('load', function(){ ...});
Salvatore
21 Mar 2016
1SRY FOR COPYING BUT THIS REALLY WORKS PLS FOLLOW
2
3$(window).on('load', function(){ $(window).load(function(){...});
4
5replace with the following:
6
7$(window).on('load', function(){ ...});
8