Skip to content

Instantly share code, notes, and snippets.

@shohag-cse-knu
Last active September 10, 2018 11:28
Show Gist options
  • Save shohag-cse-knu/30506f6ebaf6b0ef03741a558a01b8cb to your computer and use it in GitHub Desktop.
Save shohag-cse-knu/30506f6ebaf6b0ef03741a558a01b8cb to your computer and use it in GitHub Desktop.
jQuery auto calling a function after page load complete
<script>
document.onreadystatechange = function(){
if(document.readyState === 'complete'){
............................
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment