What jQuery event is called right after $(document).ready()?

前端 未结 8 910
囚心锁ツ
囚心锁ツ 2021-01-13 08:47

I have lots of HTML generated on $(document).ready(). I have a simple window system. But not only it is generated on $(document).ready() - also som

8条回答
  •  无人共我
    2021-01-13 09:15

    there is nothing after this function , so if you have some ajax loaders, only think you can do is to wait for all of them and then start rendering

    EDIT But i wonder why you dont just structuralize your code to eliminate this.

提交回复
热议问题