What is the DOM ready event?

DOM ready means that all the HTML has been received and parsed by the browser into the DOM tree which can now be manipulated.

It occurs before the page has been fully rendered (as external resources may have not yet fully downloaded – including images, CSS, JavaScript and any other linked resources).

The actual event is called window.DOMContentLoaded.

Leave a Comment