How to trigger $().ready() in jQuery?

前端 未结 10 1081
谎友^
谎友^ 2020-11-30 12:49

Using jQuery, is there a way to retrigger the document.ready trigger at some point after a page has loaded?

Update: jQuery sheds them once they are run.

10条回答
  •  醉酒成梦
    2020-11-30 13:20

    What if you tried building a module execution controller right into the ready function? Kind of like this:

    https://gist.github.com/miguel-perez/476046a42d229251fec3

提交回复
热议问题