title: How to retrieve data from Wikipedia API using JSON?
body: <p>Here I am fetching the data from Wikipedia using following code. but it is not working for me.</p>
  
  <pre><code>var playListURL = 'http://en.wikipedia.org/w/api.php?format=json&amp;action=query&amp;titles=India&amp;prop=revisions&amp;rvprop=content&amp;callback=?';
  
  $.getJSON(playListURL ,function(data) {
      $.each(data.pages, function(i, item) {
          alert(i);
      });
  });
  </code></pre>
  
  <p>DEMO LINK :- <a href="http://jsfiddle.net/rushijogle/dyeqy/" rel="nofollow">http://jsfiddle.net/rushijogle/dyeqy/</a></p>