Sometimes, it just doesn't do what I told it to do. It works perfectly in firefox and IE, but chrome just ignore the instructions. Even something as simple as:
$(window).load( function()开发者_StackOverflow社区{
    alert( 'hello world!' );
});
I think the problem is when I try to use 2 $(window).load()
Is anyone else experiencing this problem or is just me? I mean, does this "bug" actually exists or am I doing something wrong?
Try putting the script at the bottom of the page right before </body> tag.
(chrome DOES have problems with this function)
I'm having similar issues, not this specific one though. I came to believe that it's because of caching. It seems that a cached page is too fast for jQuery's window.load event to fire. Just speculating!
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论