Chapter 15: Introducing Ajax

Return to Chapter 15

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Parsing Server Data

See it run: Parsing Server Data

This is the HTML for Script 15.5 that's missing from the print version of the book.

Script 15.5

The additional JavaScript in this script allows you to parse the data that you previously requested.

Script 15.6

This example file is an edited and shortened version of the XML file that Flickr provided.