window.onload
window.onload = function() {
// Some code
};
window.onload
window.onload = function() {
// Some code
};
window onload
function load(argument) {
// body...
}
window.onload = load;
o que e window.onload js
<!doctype html>
<html>
<head>
<title>onload test</title>
<script>
function load() {
console.log("Evento de carregamento detectado!");
}
window.onload = load;
</script>
</head>
<body>
<p>O evento de carregamento dispara quando o documento acabou de ser carregado!</p>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us