jQuery behaving strange after page refresh (F5) in Chrome

To correct this problem use:

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

Out instead of:

$(document).ready(function() {});

Leave a Comment