Section 3.23. Interpreting the server s response


3.23. Interpreting the server's response

The server's response looks like this when it's received by the serveDrink() callback:

 We really need to split this response into two parts. Here's the response from the server-side coffee-making script. 1Jim    coffeemaker.php "1" indicates that it's the first coffee maker that brewed this order. "Jim" is the name of the person who placed this order. 




Head Rush Ajax
Head Rush Ajax (Head First)
ISBN: 0596102259
EAN: 2147483647
Year: 2004
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net