Skip to content

Instantly share code, notes, and snippets.

@jaredatron
Created October 10, 2009 00:08
Show Gist options
  • Save jaredatron/206448 to your computer and use it in GitHub Desktop.
Save jaredatron/206448 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>JavaScript Test</title>
<script src="/test/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$.getJSON(
"http://127.0.0.1:3000/",
function(data) {
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