Menu
Easy Java Script Code

Easy Java Script Form Validation
You can use forms on your website to get information from the visitor. However a user might make an error, or forget and entry in a form. Ignorant and malicious users may deliberately enter trash into your form in an effort to break your application. More ...

Calculators For Your Web Site
If you have a Web site where your visitor would find an online calculator very handy, with a little Java Script code you can easily provide a custom calculator right on your Web page. More ...

Code to Block the Ad Blockers
I don't believe webmasters should have to work for free, and viewing a few banners is a very low cost for information that webmasters worked hard to research and prepare. In this article I provide code to boot ad blocker users off your Web site. More ...

Sams Teach Yourself HTML5 in 10 Minutes
One important part of the new HTML5 specification is the new date-time picker control. In this book you create a webform that uses the new date-time picker control, and you'll also create a small PHP server-side program that displays the value you entered into the date-time picker control when you click the Submit button to show how you can extract data from the control on the server. More ...

Java Script to Dynamically Add, Remove, and Change Items in a Select List
This article shows you how to use Java Script to add, remove, and change items in a select list. More ...

Easy Graph Generating Code
If you want to display a graph on your web page, you could use a graphics program to draw the graph, but that's time consuming and the resulting graph is static, it can't change or grow. In this article I will show you how to generate graphs using JavaScript. More ...

Let Your Web site Visitors Set Font Size
In this article, you'll learn that it requires only a few lines of Java Script to let the visitors to your Web site control the font size. You'll also learn how to use a cookie to store their preference on their computer. More ...

Easy Animated Banners with Java Script
In this article, I will show you how to use Java Script to create an animated banner. Using Java Script allows you to edit or replace images in the animation sequence, and change the amount of time each image is displayed without doing any recompiling. 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 Code to Sort a Table by Column
A Table is a powerful way to present information. You can make your table even more powerful by giving users the ability to sort it by different columns. In this article, I give you some simple Java Script code that you can use to make almost any table sortable by different columns. 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 ...

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