JavaScript - XMLHttpRequest and AJAX
WittCode
View ChannelAbout
Welcome to WittCode where not one line of code goes unexplained! My goal is to teach you programming through building practical applications such as log in forms, client server programs, keyloggers, and much more!
Latest Posts
Video Description
Learn about XHR (XMLHttpRequest) and its relationship with AJAX. Also compare XMLHttpRequest vs fetch(). Become a Better Developer 📚 https://courses.wittcode.com My Software 📡 WittCepter - https://chromewebstore.google.com/detail/wittcepter/almcnacncageamimacljglnjcpjfogbj 🪵 ConsoleLog - https://chromewebstore.google.com/detail/consolelog/bpkeepmeajdffneiimcknfnjodekcgnh Download Code 👨💻 https://blog.wittcode.com ⌛ Timestamps 0:00 – Introduction 0:21 – What is an XMLHttpRequest? 0:53 – What is AJAX? 1:11 – Creating a XHR 1:50 – Initializing a XHR with open() 3:16 – Sending a XHR with send() 3:52 – Handling XHR Response with readyStateChange 6:27 – Accessing XHR Response Data 7:51 – AJAX and XMLHttpRequest Example 10:21 – Debugging 11:14 – XHR vs fetch() 12:06 - Outro
Web Dev Starter Kit
AI-recommended products based on this video

Cozy Corner: Coloring Book for Adults and Kids

The Complete Baking Book for Young Chefs: 100+ Sweet and Savory Recipes that You'll Love to Bake, Share and Eat!

Hello, Baby Animals: A Durable High-Contrast Black-and-White Board Book for Newborns and Babies

Little Blue Truck's Halloween: A Fun And Interactive Lift-the-Flap Book For Kids Celebrating Halloween With Little Blue Truck And Friends



