Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Add dynamic, asynchronously loading content to websites to make them more modern, professional, and user friendly, with Ajax and PHP.
Syllabus
Introduction
- Welcome
- How to use the exercise files
- What is Ajax?
- Requests
- Responses
- States and events
- Load remote text
- Load remote JSON
- Using jQuery
- Detect Ajax requests
- Respond with HTML partials
- Respond with JSON data
- Update page on change
- Create a favorite button
- Send button Ajax request
- Process button Ajax request
- Handle button Ajax response
- Mark favorites on page load
- Create an unfavorite button
- Create the form
- Gather form data
- Handle form errors
- Add a loading spinner
- Disable form button
- Allow fallback to HTML
- Prevent default
- Create a page of items
- Process a load request
- Append HTML results
- Use a data attribute
- Trigger Ajax on scroll
- Prevent multiple requests
- Create a text input
- Style suggestions
- Send an autosuggest Ajax request
- Calculate results
- Format suggestions with JSON
- Next steps
Taught by
Kevin Skoglund