02.06.2013 Views

DOM Traversal Methods

DOM Traversal Methods

DOM Traversal Methods

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

She's out of sync<br />

She entered through the exit<br />

And never stopped to think<br />

—Devo<br />

"Out of Sync"<br />

AJAX <strong>Methods</strong><br />

The AJAX capabilities in jQuery help us to load data from the server without a<br />

browser page refresh. In this chapter, we'll examine each of the available AJAX<br />

methods and functions. We'll see various ways of initiating an AJAX request, as well<br />

as several methods that can observe the requests that are in progress at any time.<br />

Low-Level Interface<br />

These methods can be used to make arbitrary AJAX requests.<br />

$.ajax()<br />

Perform an asynchronous HTTP (AJAX) request.<br />

$.ajax(settings)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!