[removed] equivalent for Ajax applications?

后端 未结 5 701
情话喂你
情话喂你 2020-12-12 02:01

I\'m using window.onload to call my JavaScript code that has to be executed after the page is fully loaded. From what I read this is the recommended method to call such scri

5条回答
  •  甜味超标
    2020-12-12 02:33

    You might be able to listen for changes and requests by globally listening for DOMSubtreeModified and readystatechange events, and use those events instead of the load event for whatever you are trying to do.

提交回复
热议问题