# Beginning JavaScript with DOM Scripting and Ajax

## Chapter 8: Backend interaction with Ajax

- ### Simple XHR example

  - exampleXHR.html
  - simpleXHR.js

- ### Simple XHR example using XML and DOM

  - exampleXMLxhr.html
  - simpleXMLxhr.js

- ### Simple XHR example using XML and regular expressions

  - exampleXMLxhrCheat.html
  - simpleXMLxhrCheat.js

- ### Simple XHR example using JSON

  - exampleJSONxhr.html
  - simpleJSONxhr.js

- ### Retrieving external RSS feeds with PHP and XHR

  - exampleExternalRSS.html
  - externalRSS.css
  - externalRSS.js
  - loadrss.phps

- ### Allowing XHR requests to time out

  - exampleXHRtimeout.html
  - externalRSS.css
  - XHRtimeout.js
  - loadrss.phps

- ### Connected select boxes with XHR and PHP

  - exampleSelectBoxes.php
  - selectBoxes.css
  - selectBoxes.js
  - selectBoxes.php

- ### Optional AJAX menu

  - navigation.php
  - index.php
  - globals.php
  - siteNavigationIndicator.js
  - siteIndicatorNavigation.css
  - XHRSiteNav.js

- ### Helper functions

  - DOMhelp.js