xxxxxxxxxx
// most probably the way you provide id is wrong.
xxxxxxxxxx
$(window).load(function(){ });
replace with the following:
$(window).on('load', function(){ });
xxxxxxxxxx
SRY FOR COPYING BUT THIS REALLY WORKS PLS FOLLOW
$(window).on('load', function(){ $(window).load(function(){ });
replace with the following:
$(window).on('load', function(){ });