Skip to main content

Using the XMLHttpRequest Object

  • Chapter
Foundations of Ajax
  • 621 Accesses

Summary

While Ajaxesque techniques have been used for many years, the recent adoption of the XMLHttpRequest object by modern browsers has ushered in a new era of developing rich Web applications. In this chapter, we established the basics of working with the heart of Ajax, the XMLHttpRequest object. At this point, you know the methods and properties of the XMLHttpRequest object, and we’ve shown you some simple examples of their use. As you can see, the object is pretty straightforward and hides much of its complexity from you. Combined with a healthy dose of JavaScript and some basic DOM manipulation, Ajax allows for a level of interactivity previously unmatched on the Web.

As mentioned in Chapter 1, with XMLHttpRequest you are no longer limited to complete page refreshes and synchronous conversations with your server. In the upcoming chapters, we’ll show you how to combine your existing expertise of server-side technologies with the unique capabilities of XMLHttpRequest to provide highly interactive Web applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Ryan Asleson and Nathaniel T. Schutta

About this chapter

Cite this chapter

(2006). Using the XMLHttpRequest Object. In: Foundations of Ajax. Apress. https://doi.org/10.1007/978-1-4302-0082-6_2

Download citation

Publish with us

Policies and ethics