Menu
Easy Java Script Code

Easy Java Script Windows
This article gives you the basics of designing, opening, and closing browser windows using Java Script. In future articles, I will show you how to do all kinds of annoying things with windows using Java Script. 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 ...

JavaScript to Generate a Random Number Between X and Y
You can use the JavaScript Math object's .random() method to generate a random number between two values, it returns a random floating-point number between 0 and 1 so you'll need to perform additional operations on it to scale it. More ...

Easy HTML5 Drag and Drop
In this example I show you how to use HTML5 drag-and-drop to make a nice little application that could be used to teach children which classification different animals belong in. This example includes only the minimal code for the application to work. More ...

Using the Java Script Date Object
When you want to work with a date in Java Script, you need to use the Date object. In this article, you learn how to create a Date object for today, or for any date in the past or future. You learn how to find the difference between two dates, and how to format a date string any way that you desire. You also learn how to validate a date string returned from a text box in a form, which involved an introduction to JavaScript regular expressions. More ...

Easy Code for Date Count Down
One of the most powerful incentives for people to make a purchase is scarcity, and one of the most popular ways to create scarcity is have a "limited time" offer. Web pages that present a limited time offer always have a count down timer to let you know how much time is left. More ...

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

Easy Picture Zoom Code
This article provides the minimal code for four different methods to add zoom to the pictures on your Web page. The first method uses a single image. When you click on the image a JavaScript function is used to enlarge the image. More ...

Calendars for Your Website
I'll start by showing you how to code a basic calendar that shows the current month with the current day highlighted. Then, how to code a webpage that can display several months simultaneously, and finally, a clickable appointments calendar. More ...

Including Special Characters in a JavaScript String
In JavaScript you define a string by placing its characters within double quotes. 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 ...

How to Shuffle the Deck With Java Script
In this article, you learn how to get and set a webpage element's z-index. The example code provided used these principles to shuffle a small deck of playing cards by clicking or double-clicking on their images. You might use this information to create your own webpage card game, or for some other interesting application. More ...


Learn more at amazon.com

Custom Search