Created
November 10, 2014 06:55
-
-
Save shivajivarma/67b487f34cf5cdfb1669 to your computer and use it in GitHub Desktop.
$.getScript() in IE8 #1849
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script> | |
$.getScript( "/no-such-file.js", function( data, textStatus, jqxhr ) { | |
console.log( data ); // Data returned | |
console.log( textStatus ); // Success | |
console.log( jqxhr.status ); // 200 | |
console.log( "Load was performed." ); | |
}); | |
</script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment