How to do jquery code AFTER page loading?

前端 未结 8 1863
庸人自扰
庸人自扰 2020-12-22 19:07

If you want an event to work on your page, you should call it inside the $(document).ready() function. Everything inside it will load as soon as the D

8条回答
  •  星月不相逢
    2020-12-22 19:33

    write the code that you want to be executed inside this. When your document is ready, this will be executed.

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

提交回复
热议问题