I am trying to use JQuery’s JSONP feature to retrieve barometric pressure data from a website.
First, I used Yahoo! Pipes to convert the XML data to JSON. Then I tried to receive and use that data in an alert, but it didn’t work. In this JSFiddle, I have a simple, working example, but when I try use the more advanced JSON file, it doesn’t work.
See also this article by IBM.
Problems in your code
http://in your linkYou need to try this (see
alert. It will alert the title)DEMO
But its better to use like following:
Note:
$.getJSON()returns twoparameterswithindataobject.To get the second parameter you need to use
data.value.DEMO