Skip to content

Instantly share code, notes, and snippets.

@dinnouti
Created October 7, 2014 21:03
Show Gist options
  • Save dinnouti/219564094a1bb3a3b9eb to your computer and use it in GitHub Desktop.
Save dinnouti/219564094a1bb3a3b9eb to your computer and use it in GitHub Desktop.
<script src='https://code.jquery.com/jquery-1.11.1.min.js'></script>
<script>
function getjs(){
$.getJSON("hashtag.json", function(data) {
console.log(data.total); // this will show the info it in firebug console
});
}
</script>
<button onclick="getjs()">Test</button>
{"total" : "101010102"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment