I think this is one of the most useful code when youre coding with jQuery In case the returned JSON string might be invalid, wrap the parser into a try-catch statement. Sending POST requests is quite similar (.post() in jQuery).The Mozilla Developer Network provides a bunch of interesting Ajax examples and solutions. Its possible to send data in various formats, such as xml You can access individual returned values by data["valuename"]. For example to get the favorite beverage, since the name of the input is favoritebeverage, itll be data["favoritebeverage"]. For the full JSON value, use data["json"]. Purpose The purpose of this tutorial is to show, with full and working examples (using JQuery version 1.9 and AJAX), how to read, send and receive XML, SOAP-XML and JSON.Define AJAX Settings / var ajaxURL "data.json" var ajaxType "GET" var ajaxAcceptedResponseFormat "text/xml" See jQuery.ajax( settings ) for a complete list of all settings. Type will automatically be set to POST.Send form data using Ajax requests., "json") Post a form using Ajax and put results in a div. JSON and AJAX Tutorial: With Real Examples - Продолжительность: 40:45 LearnWebCode 492load json data using jquery ajax - Продолжительность: 7:31 kudvenkat 48 035 просмотров.