Javascript examples for jQuery:Json
Accessing JSON data from a url
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-git.js"></script> <script type="text/javascript"> $(function(){//from ww w . j a v a 2 s. com $.getJSON("https://your server/matches.json", function (data) { $("#reply").html(JSON.stringify(data)); }); }); </script> </head> <body> <div id="reply"></div> </body> </html>