load jquery after the page is fully loaded

前端 未结 11 1418
甜味超标
甜味超标 2020-12-31 08:32

I\'m looking for a way to load jquery after the page is fully loaded.
well there are lots of questions and answers about it in here, but all describe how to run a scri

11条回答
  •  说谎
    说谎 (楼主)
    2020-12-31 08:57

    You can also use:

    $(window).bind("load", function() { 
        // Your code here.
    });
    

提交回复
热议问题