document ready javascript standalone version no jquery

this is a version of a dom ready or document ready that does not require jquery

Javascript

document.addEventListener("DOMContentLoaded", function(event) { 
  // add dom loaded stuff
});

Demo

Other Items in javascript
Page Views

This page has been viewed 61 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹