Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dom is loaded

document.addEventListener('DOMContentLoaded', (event) => {
    console.log('DOM fully loaded and parsed');
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #dom #loaded
ADD COMMENT
Topic
Name
2+8 =