Skip to content

Instantly share code, notes, and snippets.

@jamesfinley
Created March 10, 2009 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jamesfinley/76916 to your computer and use it in GitHub Desktop.
Save jamesfinley/76916 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title></title>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$.getJSON('http://api.new.youversion.com/1.0/bible/books.json', {
'callback': 'processBooks'
});
});
function processBooks (data) {
alert(data.code);
}
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment