Easy Java Script Code
In the past allowing web pages to store data on your PC was considered too dangerous. Cookies can not be considered permanent and reliable storage. HTML5 brings us web storage, providing methods to store keyword/value data pairs in the user's browser. More ...
Code for Java Script Circle/Sphere Calculator
In this article you learn how to use to Java Script to create a Circle/Sphere
calculator. The user enters the radius of a circle or sphere, and the calculator returns
the area, circumference, surface area, and volume. The process for coding any calculator
can be broken down into a step-by-step procedure. 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 ...
If you have a string with multiple occurrences of a substring within and you want to replace every occurrence of that substring with a different substring, this article provides a simple code example. More ...
Java Script Math Object Trigonometric Methods
This article describes the Java Script Math object .sin, .cos, and .tan methods along
with how to convert degrees to radians and how to set the number of digits to the right
of the decimal point. More ...
How to Disable the Browser Back Button
Let's assume that you have a legitimate reason for disabling the back button. Maybe you need to restrain
the user within a multi-page form. In this article, I show you how to disable the browser's Back button
with a only few lines of Java Script code. More ...
Java Script Code to Calculate Speed / Distance of Falling Object
In this article you learn how to use Java Script to perform gravity calculations, elapsed time,
distance traveled, instantaneous velocity, how to use the onchange event, how to use radio
buttons, and much more. More ...
Make Your Own Graphical Digital Clock
One of the most fun, interesting, and educational things you can do with Java Script is to make your
own image-based digital clock. The fun part is selecting or creating your own images for the digits
and other graphical elements of the clock. You can use 3D digits, digits that look like baby blocks,
or digits made out of animals. More ...
Disable IE8 Accelerators on Your Website
Accelerators is a new feature added to Internet Explorer 8 designed to allow Microsoft
to make money off your website and steal search revenue from webmasters. The only way
I can find to disable accelerators on Your Website is to take away your website visitors
ability to select text on your webpages. 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 ...