Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document.addEventListener("load", function () {

window.addEventListener('load', (event) => {
  console.log('page is fully loaded');
});

window.onload = (event) => {
  console.log('page is fully loaded');
};
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #function
ADD COMMENT
Topic
Name
5+9 =