Created
October 7, 2014 21:03
-
-
Save dinnouti/219564094a1bb3a3b9eb 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
<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> |
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
{"total" : "101010102"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment