JavaScript Articles
12 articles on JavaScript, newest first.
jQuery Multi File Upload
Discover how jQuery File Upload simplifies file handling with multiple file selection, drag-and-drop support, upload progress bars, image previews, chunked uploads, and resumable transfers. This guide explores its key features, backend compatibility, common use cases, implementation considerations, and security best practices for modern web applications.
Toggle checkboxes with jQuery and Prototype JS
Learn how to toggle multiple checkboxes with jQuery, modern JavaScript, and Prototype.js. This updated guide covers Check All, Uncheck All, dynamic checkboxes, disabled fields, accessibility, common mistakes, and practical examples for building user-friendly forms and admin interfaces.
How to Add a jQuery Tooltip to Your Web Page
Learn how to add a jQuery tooltip to your web page using Tipsy. This guide explains how tooltips work, why they improve usability, how to implement and customize them, common use cases, and best practices for creating helpful and accessible web interfaces.
Get Selected Value from Yii RadioButtonList
Learn how to get the selected value of a Yii radioButtonList using jQuery and use it to control other form fields. This tutorial shows how to enable or disable the SSN field based on the selected nationality, using jQuery selectors and an onChange event in Yii 1.1.
Ajax-Based Yii Login Form
Learn how to create an AJAX-based Yii 1.1 login form without a full page refresh. This step-by-step guide explains how to use CActiveForm validation, the afterValidate callback, jQuery AJAX, and Yii controllers to validate credentials, authenticate users, handle errors, and redirect users with a JSON response.

mouseover with delay (using hoverIntent plugin)
Learn how to add delayed mouseover interactions with the jQuery hoverIntent plugin. This updated guide covers setup, practical examples, navigation menus, animation handling, accessibility, troubleshooting, and FAQs.

nl2br equivalent JavaScript function
Learn how to create an <code>nl2br()</code> equivalent in JavaScript to convert newline characters into HTML line breaks. This guide covers simple JavaScript functions, PHP-to-JavaScript conversion, textarea handling, different newline formats, secure DOM methods, CSS alternatives, and important XSS considerations when working with user-generated content.
Post to your Facebook wall using Javascript SDK
Learn how to add a modern Facebook sharing feature to your website using JavaScript. This updated guide explains how to use Facebook's Share Dialog, share the current page or a specific URL, add Open Graph metadata, and replace outdated methods such as publish_stream and /me/feed.
keyup function with delay
Learn how to execute a function after a user stops typing using jQuery debounce. This guide explains `keyup` events, `setTimeout()`, `clearTimeout()`, live search, AJAX optimization, and choosing the right delay to improve web performance.
jQuery Alert Dialogs by Bill Beckelman
Learn how jQuery Alert Dialogs by Bill Beckelman can replace basic JavaScript alerts with customizable dialog boxes. This guide covers implementation, form validation, message types, benefits, and key considerations for using jQuery alert dialogs in modern and legacy web applications.
jQuery UI Multiselect by Michael
Learn how jQuery UI Multiselect improves traditional HTML multiple-select controls with a cleaner interface, flexible styling, and easier selection management for web forms.
Style file upload field
Learn how to transform a standard HTML file upload field into a stylish and user-friendly upload control using jQuery File Style. This guide covers the required jQuery files, implementation steps, customization options, multiple file inputs, and important file upload considerations.