Created
June 13, 2016 22:44
-
-
Save dotspencer/e1a230db146aee56de7e34144f70ec69 to your computer and use it in GitHub Desktop.
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
<span id="status"></span> | |
<script> | |
var url = "/api/research.json"; | |
var num = "{num}"; | |
num = num.toUpperCase(); | |
jQuery.getJSON(url, getStatus); | |
function getStatus(data){ | |
jQuery("#status").text(data[num].status); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment