fenêtre
window.onload = function() {
// Some code
};
Lonely Lyrebird
window.onload = function() {
// Some code
};
//Use window.onload to to execute JavaScript only after the HTML has loaded
//Syntax:
window.onload = function() {
//JavaScript goes here
}
window.onload = function() {
// Code here
}
window.addEventListener("load", (event) => {
// insert code here
});
window.onload = function() {
init();
doSomethingElse();
};
window.onload = function() {
init();
doSomethingElse();
};