Regular Expression Basics : How many Matches?
A Regular Expression (regex) is a sequence of characters that define a pattern that allows you to search, match, locate, replace, manipulate, and manage text. In this article you'll learn how to use regular expressions to count the number of matches. More ...
JavaScript to Set Checkbox to Readonly
The HTML checkbox element does not have a readonly attribute. This example provides a very simple work around that might help you solve the checkbox readonly problem in your own application. More ...
Easy JavaScript Form Design
A form is an html element that allows users to enter information. To experiment with forms in JavaScript, replace the method and action attributes in the form opening tag with onSubmit='javascript return false;'
to prevent the form from being submitted to the server. More ...
Introduction to HTML5 Canvas
The canvas element is a webpage container for graphics. You can use JavaScript to draw graphics within the canvas element. Learn how to draw lines, rectangles, circles, and curves, code included. More ...
JavaScript to Add and Remove Rows and Cells from a Table
If you need a client-side application where you have a table that you want to enable the user to add and remove rows and cells, this article provides you with JavaScript code to easily accomplish that. More ...
Java Script Code for a Random Circle Generator
Have you seen some Web content that uses a group of several different size and color circles as a decoration? In this article I'll show you how to use a bit of Java Script code to draw a group of random size and color circles. More ...
JavaScript 24-Hour Trainer
JavaScript has matured from making Web pages dynamic to making them interactive, providing users with a rich and memorable Web experience. This unique book-and-DVD package prepares you for the new generation of Web browser changes that are occurring on the ever-evolving Web and shows you how JavaScript is an essential component of those changes. More ...
Easy JavaScript FileReader Code
The JavaScript FileReader object allows web pages to read files stored on the user's computer. Files may be selected using the input element, or selected with a drag and drop operation. More ...
Code for Java Script Cube / Box Volume Calculator
In this article I'll show you how to use to Java Script to create a Cube / Box Volume calculator. With this calculator, the user inputs the side dimension of a cube or the height, width and length of a box, and the calculator will return the volume. I'll explain everything in detail so that you can learn Java Script and modify the code for your own purposes. More ...
Java Script to Get Selected Item from Drop-down Select List
An HTML Select list is a form control used to create a drop-down list of items from which the user can select. This article provides code to get the selected item from a select list. More ...
A Brief Introduction to HTML for JavaScript Programmers
Although JavaScript is a neat programming language, the basic foundation of the web is HTML. JavaScript gives you the ability to control and modify the HTML. More ...
JavaScript Code to Restrict Keyboard Entries
This article shows you how to restrict the user's keyboard input to a textbox to only the digits 0 and 1. You should to be able to modify the code for your own purposes. More ...
