Menu
Easy Java Script Code

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 ...

Java Script to Get Selected Item from Select List Option Group
Since you may have identically named items in multiple optgroups, you need to a way to get the name of the optgroup as well as the name of the option. The code in this article shows you how. More ...

Regular Expressions Intervals
Regular expression intervals tell us about the number of occurrences of a character in a string. Curly braces are used to define a precise count of how many occurrences you are checking for. More ...

Date Picker For Your Web Site
In this article, I give you the code for a date picker calendar and I explain the code in detail so you'll feel comfortable modifying it for your own use. More ...

Basic State Machines
A State Machine is a program, logic circuit, or mechanical device, that has a finite number of legal states. For example a traffic control signal can be red, yellow, or green. It can't be red and green. It can't be violet. More ...

JavaScript Code to Make Image Wave Like a Flag
This article provides JavaScript code and instruction to make an image wave like a flag. More ...

How to Use HTML5 canvas arc and arcTo Functions
This article describes how to draw arcs using the canvas arc and arcTo functions with example code and an explanation of radians. More ...

Regular Expression Position Matching
In this article you how to use regular expressions to match characters at the beginning, end, both beginning and end, or at any specified location in a string. More ...

JavaScript Code for Binary to Hexadecimal - Hexadecimal to Binary Conversion
You don't really need JavaScript to convert a binary number to a hexadecimal number, however if you want to create a web application the JavaScript code to convert a binary number to hexadecimal number and to convert a hexadecimal number to a binary number is shown below. More ...

A JavaScript Function That Returns a Function
Its a fad now in JavaScript to code functions that return functions in order to avoid declaring global variables but the procedure is inefficient and unnecessary. More ...

HTML5 Canvas Drag-and-Drop
The HTML5 canvas element creates a sketchpad area on a webpage where you can use JavaScript to draw 2D shapes, graphics, animations, render bitmap images, and even create online presentations and build dynamic browser games. In this article you'll learn how to use drag-and-drop in your canvas projects. More ...

Calculators For Your Web Site : Length Units Converter
In this article, I provide you with Java Script code for a Length Units Converter. For example, your visitor can enter a length in English feet and it will be converted to a length in metric meters. I keep the code as simple as possible. More ...


Learn more at amazon.com

Custom Search