8" :class="scrolled && 'is-scrolled'">
NOA
Labs
Tutorials
Courses
Skill Forge
Explore
Labs
Hands-on live sessions
Mentors
Meet the senior engineers
Projects
Real portfolio-ready builds
Talent Directory
Public student profiles
Mock Interview
Practice with real feedback
ATS Resume Checker
Free instant resume scoring
Search docs
Ctrl K
Login
Join Free
Artificial Intelligence
LangChain
LLMs
Machine Learning
Prompt Engineering
RAG (Retrieval-Augmented Generation)
AJAX
GraphQL
Apache Kafka
Microservices
Node.js
RabbitMQ
REST API
WebSockets
Algorithms
Data Structures
Angular
Bootstrap
CSS
HTML
jQuery
Next.js
Nuxt.js
React
Svelte
Tailwind CSS
Vue.js
ASP.NET Core
Django
.NET
Entity Framework Core
FastAPI
Flask
Gin
gRPC
Hibernate
Laravel
NestJS
Spring
Spring Boot
Spring Cloud
Spring Data JPA
Spring MVC
Spring Security
AWS
Azure
CI/CD
Docker
Git
Kubernetes
Linux
Nginx
Terraform
C
C++
C#
Dart
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Rust
Swift
TypeScript
Database Design
MongoDB
MySQL
Oracle Database
PostgreSQL
Redis
SQL
System Design
↑↓ navigate
↵ open
esc close
Tutorials
/
AJAX
AJAX menu
AJAX Tutorial
Asynchronous requests from the browser without a full page reload.
Start the AJAX tutorial →
What you'll learn
1. AJAX Introduction
What AJAX means, why it replaced full page reloads, and a simple conceptual example.
2. fetch() and XMLHttpRequest
XMLHttpRequest for context, then the modern fetch() API: GET/POST, headers, bodies, and async/await.
3. Working with JSON
Parsing and sending JSON with fetch, handling errors correctly, and a real-world example.
4. Error Handling and Retries
Timeouts with AbortController, idempotency, exponential backoff with jitter, and a complete retry wrapper.
5. AJAX Security: CSRF and CORS
The same-origin policy, CORS preflight requests explained concretely, CSRF attacks, and CSRF tokens.
6. Polling vs WebSockets vs SSE
A decision framework comparing short polling, long polling, Server-Sent Events, and WebSockets.
7. AJAX Interview Questions
Commonly asked AJAX and fetch() interview questions with clear, practical answers.