The DOMContentLoaded
event is fired when the document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. The load
event can be used to detect a fully-loaded page.
The DOMContentLoaded
event is fired when the document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. The load
event can be used to detect a fully-loaded page.