- View Offline
- Exercise Files
- [Instructor] In this movie we'll continue our project…by writing the code for sending the Ajax request…on our favorite buttons.…So in the last movie we got a look at the starting code.…We saw that we have our Ajax button here, favorite,…and we want to be able to click that…and have it send an Ajax request.…And if you remember, back in our code,…we bound a different click to each one of those buttons.…So we have many buttons.…So we click it we're going to call favorite.…Now favorite needs to know which one was clicked.…It needs to know did I click the first one,…the second one, the third one?…So I have to have some way of knowing…which one of these was clicked.…
If we go back up here and we look…at what a blog post looks like,…what we really are after is we want to get a hold…of this ID that's right here.…Div ID blog post 103.…That's what indicates which blog post this is.…It's the ID for the outermost div…that describes this blog post.…So how do we find that?…How do we find blog post 103?…So we have a favorite button here.…
- 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.