The following slides show how (AJAX) works.

Slide 13.1: AJAX (Asynchronous JavaScript and XML)
Slide 13.2: AJAX (cont.)
Slide 13.3: Introduction to AJAX
Slide 13.4: Introduction to AJAX (cont.)

Slide 13.5: An AJAX example
Slide 13.6: (AJAX example) Creating an XMLHttpRequest object
Slide 13.7: (AJAX example) Sending a request to a server
Slide 13.8: (AJAX example) Sending a request to a server (cont.)
Slide 13.9: (AJAX example) Sending a request to a server (cont.)
Slide 13.10: (AJAX example) Server response
Slide 13.11: (AJAX example) The onreadystatechange event
Slide 13.12: (AJAX example) Using a callback function

Slide 13.13: AJAX suggest
Slide 13.14: (AJAX suggest) The JavaScript file
Slide 13.15: (AJAX suggest) The PHP file

Slide 13.16: AJAX database
Slide 13.17: (AJAX database) The JavaScript file
Slide 13.18: (AJAX database) The PHP file

Slide 13.19: AJAX XML
Slide 13.20: (AJAX XML) The JavaScript file
Slide 13.21: (AJAX XML) The PHP file

Slide 13.22: AJAX poll
Slide 13.23: (AJAX Poll) The JavaScript file
Slide 13.24: (AJAX Poll) The PHP file

  ☂ References

Slide 13.a: 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