Temporary Maintainance Methods to call a JavaScript function on page load. Call the JavaScript function on page load by using window.onload event in the JavaScript.