HTML and CSS Reference
In-Depth Information
DOM tree, and check to see what is happening on the network. There are more
features than can be covered in this text, but the Firebug documentation and
online help are excellent if you want to use this tool to help you identify the
bugs in your program.
18.6.2 What You Should Know
This chapter focused on Ajax, making asynchronous server requests using JavaScript.
The main idea was that the browser fetched small pieces of content from the server
bypassing the normal request/response cycle. Rather, Ajax represents a communications
layer allowing a page to be updated without interrupting the user's interaction with the
page. After studying this chapter, you should understand:
1. What Ajax stands for.
2. Why use Ajax.
3. What asynchronous means.
4. How to create an XMLHttpRequest object.
5. How to handle browser differences.
6. How to initialize the XMLHttpRequest object.
7. How to send a request to the server.
8. How to check the state of the server request.
9. How to get the response from the server.
10. How to get and display the contents of a text file.
11. How to get and parse the contents of an XML file.
12. How to handle GET and POST requests.
13. How to use the DOM and an XML object.
14. The advantages of using JSON.
15. How to get and parse JSON data.
16. How to get and install the json2 library.
17. What Firebug is used for.
Search WWH ::

Custom Search