Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript wait for document load

document.addEventListener("DOMContentLoaded", function(event) { 
  //do work
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #wait #document #load
ADD COMMENT
Topic
Name
1+7 =