docuement on load code example Example: document on load $(window).on('load', function() { console.log('All assets are loaded') })