AJAX Fundamentals
Introduction to AJAX
AJAX (Asynchronous JavaScript and XML) anables web pages to communicate with servers without reloading the entire page. This article covers practical AJAX implementation paterns.
1. Basic AJAX Implementation
The following example demonstrates how to send form data to a server using jQuery's AJAX function:
The correspondin ...
Posted on Wed, 04 Nov 2026 16:43:28 +0000 by KILOGRAM
Implementing Dynamic Loading with jQuery Load and Browser Navigation Handling
This follows up on the previous article about using jQuery's load method for dynamic content loading and resolving JavaScript execution issues in loaded pages. However, the current implementation still has usability problems related to browser navigation behaviors such as forward/backward buttons and page refreshes. Several developer have encou ...
Posted on Mon, 02 Nov 2026 16:12:04 +0000 by eyalrosen
Understanding AJAX Requests with jQuery: $.ajax, $.post, and $.get
AJAX (Asynchronous JavaScript + XML) enables dynamic web content updates without page reloads. jQuery provides convenient wrappers around the native XMLHttpRequest API, offering several methods for handling asynchronous communication: $.ajax(), $.post(), and $.get().
The $.ajax() Method
This is jQuery's core AJAX function, offering complete con ...
Posted on Sat, 31 Oct 2026 16:42:21 +0000 by tegwin15
Core Frontend Development Fundamentals
JavaScript
Common PIXI.js Rendering Properties
Initiailze a new PIXI application:
const gameApp = new PIXI.Application(500, 700);
Attach the application canvas to the page:
document.body.appendChild(gameApp.view);
Create a new image sprite:
const playerPlane = PIXI.Sprite.fromImage("assets/player-plane.png");
Add the sprite to the ...
Posted on Thu, 22 Oct 2026 16:40:05 +0000 by gordonrp
Implementing Toast Notifications and Modals with Layui's Layer Component
The layer module within the Layui framework provides a lightweight and highly configurable solution for rendering overlays, dialogs, and toast notifications in web applications. Among its methods, layer.msg() is specifically designed for brief, non-intrusive prompt messages that automatically dismiss after a set duration.
Core Syntax and Config ...
Posted on Tue, 13 Oct 2026 16:05:24 +0000 by t_galan
Handling AJAX Requests and Custom Pagination in Django
Asynchronous JavaScript and XML (AJAX)
Understanding AJAX
AJAX stands for Asynchronous JavaScript and XML, which allows JavaScript to communicate asynchronously with the server using XML or JSON formats.
In synchronous communication, the client must wait for a server response before sending another request. Asynchronous communication allows mul ...
Posted on Mon, 12 Oct 2026 16:18:10 +0000 by dcuellar
Advanced jQuery Ajax Techniques and Testing
Modern web applications often rely on frequent communication with servers. jQuery simplifeis asynchronous data exchange without reloading the page, enabling seamless user experiences.
Progressive Enhancement with Ajax
A robust approach ensures basic functionality works without JavaScript, then enhances it for capable browsers. Consider a GitHub ...
Posted on Thu, 01 Oct 2026 16:36:29 +0000 by CraigRoberts
Native JS Requests, jQuery Ajax, Axios, and Fetch: Differences and Pros/Cons
Native JS Requests
Modern browsers initially used the XMLHttpRequest object to exchange data with servers. It can send and receive data in formats like JSON, XML, HTML, and plain text.
Let's first wrap the native request:
var xmlhttp = new XMLHttpRequest();
function obj2str(data) {
data = data || {}; // If no parameter is passed, create an ...
Posted on Mon, 28 Sep 2026 16:49:41 +0000 by zigojacko
Uploading Files with JavaScript FormData
File Upload Using JavaScript FormData
Overview
The process of uploading files using JavaScript FormData involves three core steps:
Step
Description
1
Instantiate a FormData object
2
Append files to the FormData instance
3
Transmit the FormData to the server
Detailed Steps
1. Instantiating FormData
To begin, create a FormData objec ...
Posted on Mon, 28 Sep 2026 16:03:39 +0000 by Arnerd
Implementing Username Uniqueness Validation via AJAX
Validating whether a username is already taken requires backend verification since client-side JavaScript can only check input format. This scenario is ideal for asynchronous validation to improve user experience and ensure successful form submission.
Frontend Implementation
<%@ page contentType="text/html;charset=UTF-8" language=& ...
Posted on Sat, 26 Sep 2026 16:18:37 +0000 by thekidscareya