Does $.ready fire before or after all inline [removed]'s have been loaded?

后端 未结 4 970
逝去的感伤
逝去的感伤 2021-01-12 14:31

At the core, this is a javascript question but I\'m interfacing the event with jQuery.

Here\'s an example case:


  
    

        
4条回答
  •  情深已故
    2021-01-12 15:12

    Ready fires when all DOM elements are ready for manipulation.

    When the browser comes across a script element, DOM parsing stops until the script has been executed, so because of how it all works, it fires after all scripts are loaded.

提交回复
热议问题