Skip to Content
Head Rush Ajax
book

Head Rush Ajax

by Brett McLaughlin
March 2006
Beginner to intermediate
448 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Head Rush Ajax
you’re on your way 4
109
ajax requests
function updatePage() {
if (request.readyState == 4) {
/* Get the response from the server */
var customerAddress = request.responseText;
/* Update the HTML web form */
}
}
If the ready state is “4”, the browser will have put the server’s response in the
request object’s responseText property:
The browser will store the
server’s reponse in the
responseText property.
The server
is returning
the
customer’s
address.
Get the server’s response from the request object
Blueprints, revisited
You haven’t fogotten about the diagram and notes you drew up for developing
the Break Neck application, have you? Take a moment to look back at what
you wrote down on pages 73, and see how that compares to the steps
we’ve taken so far. This is your chance to make a few more changes before
we hit the home stretch.
In the space below, write down what you think still needs to happen to
complete the Break Neck application.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally

Publisher Resources

ISBN: 0596102259Errata PageSupplemental Content