TESTING JSON

Getting data form an ajax call using JSON format

When performing an Ajax call, the JSON format is an alternative to the XML format. JSON which offers following advantages:

Results of the first example: getting data from the json_data_1.js file (a very simple JSON call).

Results of the second example (same call, same source file, but using the Ajax API):

For details have a look to HTML code of this page.

Sources

HOME