- [Instructor] In the previous movie,…we learned how to send an Ajax request.…In this movie, we're going to learn how to receive and handle…the response that comes back from that request.…The first thing you need to know about the Ajax responses,…is that they can either be text, or they can be XML,…and we access them in different ways.…We're going to use a function called responseText…when we want to work with the text,…and responseXML when we want to work with XML.…In general, the text is going to be more flexible,…because the text is just a string of characters.…
What we get back could be a couple of words,…or a sentence or a paragraph, or it could be HTML,…or it could be JSON, it could be images,…it really doesn't matter,…it could be any string of characters that gets sent back,…whereas XML is only going to be XML.…You'll remember though,…that the x in Ajax actually stands for XML,…so it is a central part of the way that Ajax works.…Let's take a look at some code as an example.…So we're going to create our new XMLHttpRequest…
- What is Ajax?
- Creating Ajax requests and responses
- Monitoring Ajax request state and events
- Responding to Ajax requests with HTML and JSON
- Building Ajax buttons
- Submitting forms with Ajax
- Implementing infinite scrolling
- Adding autosuggestions to text fields
Skill Level Intermediate
1. Ajax Defined
What is Ajax?5m 34s
2. Ajax Client
3. PHP Server
4. Ajax Button
5. Ajax Form Submission
6. Infinite Scrolling
7. Search Autosuggest
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.