Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var DOMReady = function(a, b, c) {
- b = document
- c = 'addEventListener'
- b[c] ? b[c]('DocumentContentLoaded', a) : window.attachEvent('onload', a)
- }
- DOMReady(function () {
- alert('The DOM is Ready!');
- });
Add Comment
Please, Sign In to add comment