Answers for "o que e window.onload js"

22

window.onload

window.onload = function() {
  // Some code
};
Posted by: Guest on June-26-2020
3

window onload

function load(argument) {
	// body...
}
window.onload = load;
Posted by: Guest on April-28-2020
0

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>
Posted by: Guest on October-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language