Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to tell the javascript to wait until the site loads in the html

use the 'defer' keyword
<script type="text/javascript" src="index.js" defer></script>
 
PREVIOUS NEXT
Tagged: #javascript #wait #site #loads #html
ADD COMMENT
Topic
Name
9+7 =