CHAPTER 4The XML Http Request Object
The core reason for the existence of AJAX is the ability to communicate with the server from within a page. Chapter 2 shows how to do AJAX calls using an iframe. In this chapter a module will be developed that can be interchanged with that iframe. It is the XML HttpRequest object that makes this possible. It provides modern AJAX functionality for the JavaScript language beyond the iframe. This chapter introduces the XMLHttpRequest object and its use.
The items covered in this chapter are
Creating a simple request and handling the result
XMLHttpRequest object attributes and methods
Creating a Server Access ...
Get Oracle Database Ajax & PHP Web Application Development 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.