Javascript examples for jQuery:Json
read the received json file from Bing.com
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.js"></script> <script type="text/javascript"> $(window).load(function(){/*w w w . jav a2 s. c o m*/ var url = 'http://api.bing.com/osjson.aspx?JsonType=callback&JsonCallback=?'; $.getJSON(url, { query: 'hulk' }, function (data) { document.write(data) }); }); </script> </head> <body> </body> </html>