O'Reilly logo

HTML, CSS and JavaScript All in One, Sams Teach Yourself: Covering HTML5, CSS3, and jQuery, Second Edition by Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 25. AJAX: Remote Scripting

What You’ll Learn in This Chapter:

How AJAX enables JavaScript to communicate with server-side programs and files

Using the XMLHttpRequest object’s properties and methods

Creating your own AJAX library

Using AJAX to read data from an XML file

Debugging AJAX applications

Using AJAX to communicate with a PHP program

Remote scripting, also known as AJAX, is a browser feature that enables JavaScript to escape its client-side boundaries and work with files on a web server or with server-side programs. In this chapter, you’ll learn how AJAX works and create two working examples of client-side to server-side interactivity using AJAX requests.

Introducing AJAX

Traditionally, one of the major limitations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required