Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shohag-cse-knu/dda752c9df4107c4e83727dd98a5aeb6 to your computer and use it in GitHub Desktop.
Save shohag-cse-knu/dda752c9df4107c4e83727dd98a5aeb6 to your computer and use it in GitHub Desktop.
Javascript calling a function or operations after complete page load
document.onreadystatechange = function(){
if(document.readyState === 'complete'){
// Your Code here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment