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.

Previewing Links with Ajax

See it run: Previewing Links with Ajax

Script 15.8

This HTML builds the page for the preview example.

Script 15.9

This CSS styles the preview pop-up.

Script 15.10

This is the JavaScript that allows the server request and sets the appearance of the pop-up.