Answers for "$(document).ready, window.onload"

0

$(document).ready, window.onload

document.addEventListener("DOMContentLoaded", function(event) { 
  //do work
});

// or
window.onload = function() {

};
Posted by: Guest on September-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language