Article Tags
Home Technical Articles Web Front-end
AJAX before jQuery 1.8 and After

AJAX before jQuery 1.8 and After

Here is a quick note of AJAX before jQuery 1.8 and the newer version. Don’t forget .success() and .error() still supported in jQuery 1.9.1 so it won’t break your old code and plugins you use. I have also drawn up some some New jQuery.ajax() Examples

Feb 23, 2025 am 09:30 AM
Take Your JavaScript to the Next Level with the Experts

Take Your JavaScript to the Next Level with the Experts

In 2013, when Craig Buckler studied the best programming languages, he found that demand for JavaScript grew faster than any other language. As the network develops, JavaScript's status continues to improve, becoming a formal programming language that needs to be carefully learned and mastered, rather than just a piece of code that you don't know much about how it works, or just hidden behind jQuery and other libraries. language. At SitePoint, we have been following this trend, listening to readers’ feedback, and planning a flexible learning path to improve your JavaScript skills. It's time to familiarize you with this language that will likely become a key HTML and CSS partner in the future

Feb 23, 2025 am 08:51 AM
jQuery 1.9  .Ajax() New Promise Interface Advantages

jQuery 1.9 .Ajax() New Promise Interface Advantages

Taking over the previous 5 new jQuery.Ajax() examples (jQuery 1.9), I want to document the changes brought about by using the Promise interface of jQuery .Ajax() 1.9 (some of which can be classified as advantages). Naming: Apparently, the name has been changed, success -> done, error -> fail, complete -> always. Deferred: Deferred Promise can be bound to anywhere in the application, resulting in increased flexibility and reusability. Callback order: The callback order is:

Feb 23, 2025 am 08:46 AM
Parallax Burns: Converting Photos from 2D to 3D with SVG

Parallax Burns: Converting Photos from 2D to 3D with SVG

This article explores a method for transforming 2D photographs into simulated 3D images using Scalable Vector Graphics (SVG). The process involves layering the photograph (foreground, midground, background), converting each layer into an SVG, and th

Feb 22, 2025 am 10:38 AM
Building a Filtering Component with CSS Animations & jQuery

Building a Filtering Component with CSS Animations & jQuery

Some months ago, I wrote an article about MixItUp, a popular jQuery plugin for filtering and sorting. In today’s article, I’ll show you how to build your own simple filterable component with jQuery and CSS animations. Without further ado, let’s get

Feb 22, 2025 am 10:19 AM
Getting System Fonts Using JavaScript

Getting System Fonts Using JavaScript

Several ways to get system fonts using JavaScript. Reference links containing the demo are provided below. Get system fonts using JavaScript try { // Add swf to the page and read the font $('body').append(''); $('#flashcontent').flash({ "src": "resources/FontList.swf", "width": "1",

Feb 22, 2025 am 09:34 AM
Creating a Typeahead Widget with AngularJS - SitePoint

Creating a Typeahead Widget with AngularJS - SitePoint

If you are starting an AngularJS project you might want to have all the components written in Angular. Although it’s certainly possible to reuse the existing jQuery plugins, throwing a bunch of jQuery inside a directive is not always the correct way

Feb 22, 2025 am 08:44 AM
Mobile Web Superpowers: Ambient Light API

Mobile Web Superpowers: Ambient Light API

The Ambient Light API: Adapting Web Experiences to Real-World Lighting This article explores the W3C Ambient Light API, a tool enabling web developers to create more responsive and user-friendly experiences by adjusting website interfaces based on am

Feb 21, 2025 am 11:49 AM
Building a Recipe Search Site with Angular and Elasticsearch

Building a Recipe Search Site with Angular and Elasticsearch

This article demonstrates building a recipe search website using Angular and Elasticsearch. Tired of wrestling with Solr or Lucene? Elasticsearch, an open-source, Lucene-based storage engine, offers a simpler solution since 2010. It's more than ju

Feb 21, 2025 am 10:42 AM
Introducing the Nashorn JavaScript Engine

Introducing the Nashorn JavaScript Engine

Oracle has developed a new JavaScript engine called Nashorn in the Java programming language and released it with Java 8. Nashorn's goal is to implement a lightweight, high-performance JavaScript runtime environment in Java and use native JVM. By using Nashorn, developers can embed JavaScript in Java applications and call Java methods and classes from JavaScript code. Core points Nashorn is a high-performance JavaScript engine developed by Oracle using Java, aiming to implement lightweight JavaScript operations in Java.

Feb 21, 2025 am 10:21 AM
Getting Started with Bookshelf.js

Getting Started with Bookshelf.js

Core points Bookshelf.js is an object-relational mapping (ORM) software for JavaScript (particularly Node.js), which simplifies the process of communicating with a database by allowing developers to use objects in their programming language of choice to interact with the database. The library provides a simple and intuitive way to perform CRUD (create, read, update, delete) operations and supports a Promise-based interface, which means that functions are called only when the query is successful. As shown in the example of creating a blog JSON API in the article, Bookshelf.js can be used in conjunction with Express.js to build the API and can be used to create the API.

Feb 21, 2025 am 10:13 AM
5 JavaScript APIs to Empower Your Mobile Web Pages

5 JavaScript APIs to Empower Your Mobile Web Pages

Key Points Battery Status API: Provides device battery level or status information, helps save changes more frequently when the battery is low, preventing data loss. Web Notification API: Normalizes how developers notify users, allowing alerts (such as email delivery) to be issued outside the context of the web page. However, the display styles of different browsers may vary. Proximity Sensor API: Detects the distance between an object and the device running a web page, currently only supported by Firefox. Vibration API: Allows the device to vibrate and can be used to simulate specific effects in the game. The device direction API detects the device direction, which is conducive to navigation applications and games. “Mobile market is growing” and “through mobile devices (intelligent)

Feb 21, 2025 am 09:29 AM
5 Typical JavaScript Interview Exercises

5 Typical JavaScript Interview Exercises

Core points Common JavaScript interview questions usually revolve around understanding key concepts, such as scope, creating native methods, promotion, this keyword, and call() and apply() functions. In JavaScript, it is crucial to understand the context of a function and how to call it. This keyword refers to the context, which varies depending on whether the function is called as part of an object or as a standalone function. A boost in JavaScript refers to the process in which variables and functions are moved to the top of their containment scope. However, while the function retains its initial value, the variable does not, and is initially set to undefined. JavaScript enabled

Feb 21, 2025 am 09:23 AM
Jump Start Sass: Architecture in Sass

Jump Start Sass: Architecture in Sass

Sass Architecture: A Deep Dive into Modular CSS Development This excerpt from Jump Start Sass explores the complexities of CSS architecture and how Sass enhances the process. We'll examine various architectural approaches and best practices for buil

Feb 21, 2025 am 08:53 AM

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Hot Topics

Java Tutorial
1665
14
PHP Tutorial
1270
29
C# Tutorial
1249
24