Menu
Easy Java Script Code

Put Commas in Your Java Script Calculators
Writing large numbers with the digits in groups of three make the numbers easier to read. In this article you'll learn how to code calculator applications that will accept the entry of numbers with commas, and return results with commas. More ...

Regular Expression: Alternation
In this article you learn how to create an alternation regular expression that will match alternate patterns in a string. More ...

Create a Mouse Click Sound Effect
One way to add to the exerience of visiting your website is to provide sound effects. It's extremely easy to add a click sound when a visitor clicks on a link. 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 ...

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

Prevent Automated Form Submissions With Java Script
Spammers have robots that search the Web for such forms and when they find one, they use automated programs to submit thousands of spam. Webmasters have developed a method to prevent such abuse. In this article, I show you three different examples of using Java Script to implement this method for your own web form. More ...

Submit Forms Without CGI
There are many reasons why you might not want to use CGI forms on your Web site. For example your web site may be on a free host that does not allow custom CGI scripts. You may want to conserve bandwidth on your Web server. Or maybe you just don?t want the hassle of CGI programming. More ...

Java Script Code for Directory File List
In this article You'll learn how to create a webpage that gives a list of the files in a folder. This example is for use with Internet Explorer Web browser on your local computer. More ...

JavaScript Cookbook
JavaScript Cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project. More ...

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

Easy Picture Panning Code
In this article, I provide you with code that will pan an image back and forth, as if you where looking at a video. But this code does not require video, just a simple image and a few lines of Java Script code. More ...

Calculators for Your Web Site : Body Mass Index
If you have a Web site related to health or dieting, or you just want to provide more useful features on your Web site, you can provide a BMI calculator. This article shows you how to code a Java Script BMI calculator for your Web site. More ...


Learn more at amazon.com

Custom Search