Menu
Easy Java Script Code

JavaScript Code to Make Image Wave Like a Flag
This article provides JavaScript code and instruction to make an image wave like a flag. More ...

How to Use HTML5 canvas arc and arcTo Functions
This article describes how to draw arcs using the canvas arc and arcTo functions with example code and an explanation of radians. 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 ...

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 Slide Show Code
One of the problems with creating such a slide show is that the images should all be the same size. If the images are not all the same size, your web page may grow and shrink as the different images are displayed. 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 ...

Password Protection Using the Frames Method
One method of password protecting your webpages is to use a cookie, but cookies are unreliable. If you can't trust a cookie to store the information that the user is logged in, where can you store it? In this example I'll show you how to use frames for JavaScript password security. More ...

A Brief Introduction to HTML for JavaScript Programmers
Although JavaScript is a neat programming language, the basic foundation of the web is HTML. JavaScript gives you the ability to control and modify the HTML. More ...

Concatenating a String and Another Data Type
To concatinate a string and a number, use the styring concatination operator. This is because JavaScript converts the number to a string. To use the + operator with a number, or numbers that are in string data type requires using parseInt() or parseFloat() to convert the strings to numbers. More ...

HTML5 Canvas lineCap and lineJoin Attributes
The HTML5 canvas element is a webpage container for graphics. You can use JavaScript to draw within the canvas element. In this article to learn how to draw lines with round or square end caps and how to specify that where two lines join the joint should be miter, round or beveled. More ...

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


Learn more at amazon.com

Custom Search