Created
October 10, 2009 00:17
-
-
Save jaredatron/206450 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<title>JavaScript Test</title> | |
<script src="/test/jquery.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
console.log("I'm JavaScript and I'm getting ready to fail but not let you know why."); | |
$.getJSON( | |
"http://127.0.0.1:3000/", | |
function(data) { | |
console.log("Hello again, this is JavaScript and I actually work."); | |
alert('hello world'); | |
} | |
); | |
}); | |
</script> | |
</head> | |
<body> | |
<h3>JavaScript Test</h3> | |
hello world | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment