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

前端 未结 8 905
囚心锁ツ
囚心锁ツ 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:18

    $(document).ready() is called just after the DOM has finished loading. pageLoad() is called next on a 0 timer, but beware it is run after every partial postback.

    Edit: Added side note - this will only count if using ASP.NET, the pageLoad functionality mentioned is separate from jQuery. See more info Here

提交回复
热议问题