Including Special Characters in a JavaScript String
In JavaScript you define a string by placing its characters within double quotes. More ...
Easy Java Script Code to Fill Array With Random Numbers
The code I present here might not be the fewest lines possible to fill an array With random numbers, but it is the easiest to understand. 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 ...
Easy JavaScript Web Storage 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 ...
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 ...
Code for a Less annoying Popup Window
In previous articles I have stated my opinion that it very discourteous and stupid for Webmasters use advertising popup windows on their Web sites. They get paid $0.01 or less to shove a popup window in your face. More ...
JavaScript to Add and Remove Rows and Cells from a Table
If you need a client-side application where you have a table that you want to enable the user to add and remove rows and cells, this article provides you with JavaScript code to easily accomplish that. 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 ...
JavaScript Code to Save and Load a Table Using HTML5 Web Storage
HTML5 brings us web storage, providing methods to store keyword/value data pairs in the user's browser. This example gives you JavaScript Code to allow user's to save and load a table using Web Storage. 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 ...
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 ...
Easy JavaScript FileReader Code
The JavaScript FileReader object allows web pages to read files stored on the user's computer. Files may be selected using the input element, or selected with a drag and drop operation. More ...
