Skip to content

Instantly share code, notes, and snippets.

@martinwolf
Created May 26, 2013 07:09
Show Gist options
  • Save martinwolf/5651954 to your computer and use it in GitHub Desktop.
Save martinwolf/5651954 to your computer and use it in GitHub Desktop.
JS: document or window ready
jQuery(document).ready(function() {
// DOM is loaded
});
jQuery(window).ready(function() {
// DOM and all ressources are loaded
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment