Working With Different Data Types

Using AJAX, it is possible to retrieve and work with different types of data. In this example, we will write jQuery code to work with JSON and XML data.

The returned data will be inserted into this div: