- handles requests for data without reloading the page
- triggered by an event
- using XHR to communicate with a server for those data
- the data doesn’t have to be XML
- can be a text file, HTML, or JSON object
- is asynchronous by default
- to support old browsers
- target a DOM element and add the content from the file
- to be successful the element has to have an ID
- you can also target multiple elements by targeting the tag names
Advertisements