在js最后加载的function

在script的最后加上

    $(function (){

    });

往里面写方法,就会在页面最后才加载这个方法。

posted @ 2021-02-26 10:40  Bert-H  阅读(85)  评论(0)    收藏  举报