The following slides show how AJAX works.

Slide 13.1: AJAX introduction
Slide 13.2: An AJAX example
Slide 13.3: AJAX creating an XMLHttpRequest object
Slide 13.4: AJAX sending a request to a server
Slide 13.5: AJAX sending a request to a server (cont.)
Slide 13.6: AJAX sending a request to a server (cont.)
Slide 13.7: AJAX server response
Slide 13.8: AJAX the onreadystatechange event
Slide 13.9: AJAX using a callback function
Slide 13.10: AJAX suggest
Slide 13.11: AJAX suggest: The JavaScript file
Slide 13.12: AJAX suggest: The PHP file
Slide 13.13: AJAX database
Slide 13.14: AJAX database: The JavaScript file
Slide 13.15: AJAX database: The PHP file
Slide 13.16: AJAX XML
Slide 13.17: AJAX XML: The JavaScript file
Slide 13.18: AJAX XML: The PHP file

  ☂ References

Slide 13.ⓐ: AJAX tutorial from W3Schools







      I look at husbands the same way I look at tattoos.    
      I want one, but I can’t decide what I want and    
      I don’t want to be stuck with one    
      I’m just going to grow to hate and    
      have to have surgically removed later.    
      — Margaret Cho