HOUR 17:AJAX: Remote Scripting

What You’ll Learn in This Hour:

• 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 hour, you’ll learn how AJAX works and create two working examples.

Introducing AJAX

Traditionally, one of the major limitations of JavaScript is that it couldn’t communicate ...

Get Sams Teach Yourself JavaScript in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.