js wait for page to load

56

js wait for page to load -

document.addEventListener("DOMContentLoaded", function(event) { 
  //do work
});

Comments

Submit
0 Comments