🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Beginner

What is AJAX?

A technique for making asynchronous HTTP requests from a web page without reloading the entire page.

AJAX (Asynchronous JavaScript and XML) enables dynamic page updates by fetching data from the server in the background. Originally using XMLHttpRequest, modern JavaScript uses the Fetch API: fetch('/api/data').then(r => r.json()).then(data => updateUI(data)).

AJAX revolutionized web development by enabling single-page-like experiences. Common uses include form submission without reload, infinite scrolling, auto-complete search, live notifications, and real-time dashboards. Despite the name, JSON has largely replaced XML as the data format.

Related Terms

WebSocket
A communication protocol that enables full-duplex, real-time data exchange between a browser and server over a single connection.
Web Accessibility (a11y)
The practice of designing websites that can be used by people with disabilities, following WCAG guidelines.
Lazy Loading
A technique that delays loading non-critical resources until they are needed, improving initial page load performance.
CORS Preflight
An automatic OPTIONS request sent by browsers before certain cross-origin requests to check if the actual request is permitted.
HTTP/2
The second major version of HTTP that improves performance through multiplexing, header compression, and server push.
Webhook
A mechanism where a server sends real-time HTTP POST notifications to a specified URL when specific events occur.
View All Web Development Terms →