Created
May 15, 2014 10:07
-
-
Save carlosrojaso/7058eab9c9bb60c7bb53 to your computer and use it in GitHub Desktop.
Jquery $( document ).ready()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script> | |
$( document ).ready(function() { | |
console.log( "document loaded" ); | |
}); | |
$( window ).load(function() { | |
console.log( "window loaded" ); | |
}); | |
</script> | |
</head> | |
<body> | |
<iframe src="http://techcrunch.com"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment