js wait for page to load

59

js wait for page to load -

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

Comments

Submit
0 Comments