window load plain javascript code example Example: document load javascript window.onload = function() { // Code here }