Menu
Easy Java Script Code

Java Script Code to Factor Numbers
Being able to factor numbers is an important skill, one that is necessary to work with equations, fractions and polynomials. In this article, I show you how to use Java Script to factor a number, therefore you will learn a little mathematics and a little programming at the same time. More ...

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

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

Play Music on Your HTML5 Web Page
In this article you learn how to play and control music on your webpage including adding a play list and custom controller. More ...

Easy Expanding Banner Code
Instead of using "in your face" skyscraper or double-wide banners, you can make a standard banner that expands to show more information. In this article, I provide you with easy code to create several different kinds of expanding banners. More ...

JavaScript Code to Restrict Keyboard Entries
This article shows you how to restrict the user's keyboard input to a textbox to only the digits 0 and 1. You should to be able to modify the code for your own purposes. More ...

Use JavaScript parseInt() and parseFloat() to Convert Strings to Numbers
If the results of a mathematical operation in your script are not what you expected, make sure that you convert any numbers represented as strings to the actual number data type before performing the operation. More ...

Synchronous and Asynchronous Script Loading
Whether to use synchronous or asynchronous script loading depends upon the design of the webpage. Asynchronous script loading can cause the webpage can render more quickly. But if done without consideration for the design it can cause webpage flash or even errors. 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 ...

Easy Expanding Menu Code
Having lots of high quality content isn't enough. Visitors must know that the content is there to be had, and it must be easily accessible. In this article, I provide you with simple, straight forward code that creates an expanding menu. More ...

Java Script Random Password Generator
If you're a webmaster or system administrator, you may need to create many unique passwords. In this article, you'll learn what a good password is and how to generate random passwords with a few simple lines of Java Script code. More ...

Change the Case of a Character in a String
A common task with JavaScript is to change the case of the first letter in a string, or of an internal letter, or even change the case of an entire string. More ...


Learn more at amazon.com

Custom Search