Advertisement
Guest User

getJSON Example

a guest
May 27th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.getJSON("http://en.wikiquote.org/w/api.php?action=parse&prop=text" +
  2.                      "&page=" + quote_title + "&format=json", function(json) {
  3.                          quote = json;
  4.                          document.getElementById("album").innerHTML = quote.parse.text.*.;
  5.                      });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement