Menu
Easy Java Script Code

Regular Expressions Subexpressions
In this article you learned how to use subexpressions to rearrange matches in a regular expression and how to replace the value of a subexpression match in the results. More ...

How Far Did the User Scroll?
In this article you learn how to use Java Script to determine how far a user scrolled your webpage before leaving, and how to log this data on the server with an example using ASP. More ...

Working With the Keyboard in Java Script
Using Java Script you can determine which keyboard key the user pressed. You can use this information to block certain keys, to replace a key's character, or to perform an action based upon a specific key being pressed. In this article, I'll provide some basic code for working with the keyboard. More ...

JavaScript Code to Save and Load a Table Using HTML5 Web Storage
HTML5 brings us web storage, providing methods to store keyword/value data pairs in the user's browser. This example gives you JavaScript Code to allow user's to save and load a table using Web Storage. More ...

HTML5 Canvas Storing and Clearing Transformations
With HTML5 Canvas, it's possible to save the current transformation, do some drawing and transforming, and then restore the old transformation. More ...

Allowing Multiple Selections 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. You can allow the user to select multiple items in the list by setting its multiple attribute. More ...

JavaScript Code for Binary to Decimal - Decimal to Binary Conversion
To convert a binary number to decimal add together the decimal weight of all positions that contain a 1. To convert a decimal number to binary place a 1 in all positions where you can subtract the weight of the binary position. More ...

Java Script Math Object Trigonometric Methods
This article describes the Java Script Math object .sin, .cos, and .tan methods along with how to convert degrees to radians and how to set the number of digits to the right of the decimal point. More ...

Create Your Own Database Using Only Notepad : CDV
In this article you learn how to create a database using only a basic text editor along with any web browser. You won't believe how simple and powerful this method is. The database we design will have powerful features. More ...

Easy Moving Popup Code
You have probably come across a webpage where a small window appears at the side of the webpage and drifts to the center of the webpage. They are commonly used to present you with a form where you can enter your email address to subscribe to a newsletter. In this article I give you the code to create this type of moving popup window. More ...

Easy Slide Show Code With Linked Slides
A slide show sequences through pictures of products. Wouldn't it be nice if the user could stop the slide show, go back to the previous picture, click on the picture to get detailed information about the product? 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 ...


Learn more at amazon.com

Custom Search