Queues
Saturday February 28, 2009
They say that the English are good at standing in queues waiting to be served and they don't even have Javascript to control the addition and removal of people from ... Read More
Stacks
Friday February 27, 2009
Javascript arrays are flexible and can be used to emulate a variety of different constructs.
One common way of storing collections is in a stack. With a stack you add new ... Read More
Associative Arrays
Thursday February 26, 2009
When is a Javascript object not a Javascript object? When it is a Javascript associative array.
Javascript supports two different types of arrays. There is the regular sort of array where ... Read More
Alert
Wednesday February 25, 2009
The dialog boxes built into JavaScript are best avoided in live web pages
Using alert(), confirm(), and prompt() used to be a useful way of interacting with your visitors. Not any ... Read More
Drawing with Stylesheets and JavaScript
Tuesday February 24, 2009
You don't always need images to put drawings on your web page.
Did you know that you can place animated drawings on your web page using nothing more than a few ... Read More
JSON
Monday February 23, 2009
There are multiple ways of doing the same thing in JavaScript. Some are shorter than others.
The difference between crerating JavaScript objects the long way and creating them the short way ... Read More
Opening a Request
Sunday February 22, 2009
Which server side process do you want JavaScript to call?
There are a number of steps that need to be performed in requesting information from the server using Ajax. In this ... Read More
Loan Repayment Calculator
Saturday February 21, 2009
Now that credit cards are maxed out from paying for gifts for everyone you visitors need a way to work out their repayment schedule.
Allow your visitors to calculate how much ... Read More
Making Change
Friday February 20, 2009
What coins/notes do I need to use to pay $x.xx in change? JavaScript can give the answer.
If you have any sort of JavaScript processing in a form on your ... Read More
Table Generator
Thursday February 19, 2009
One of the most complex HTML constructs is the table
How many times have you tried to code a table and then found that your web page is totally stuffed up ... Read More
Dates
Wednesday February 18, 2009
JavaScript makes calculations based on dates and times easy by providing date objects that supply many of the needed methods.
This seventeenth modern JavaScript tutorial introduces you to the easiest way ... Read More
Polymorphic JavaScript Functions
Tuesday February 17, 2009
JavaScript functions - a trap for beginners or a powerful feature.
Accidentally giving two functions the same name in JavaScript can cause problems for many beginners. Deliberately giving two functions the ... Read More
Validate Your HTML
Monday February 16, 2009
JavaScript isn't the only thing in a web page.
You are probably wondering what an article on validating HTML has to do with JavaScript. Well, a web page doesn't just consist ... Read More
Introduction to Ajax
Sunday February 15, 2009
JavaScript can pass requests to the server
Some people claim that Ajax is an acronym (standing for "Asyncronous JavaScript and XML"). The person who "invented" the term (but not the technique) ... Read More
Adding Days to a Date
Saturday February 14, 2009
Which way around do the getDate and setDate need to go to add to a date?
You can perform all sorts of complex manipulations on dates by using the appropriate date ... Read More
Validating Dates
Friday February 13, 2009
Validate dates the easy way with a JavaScript date object.
Before you do anything with a date that your visitors have input, you first need to check that it is a ... Read More
Analog Clock
Thursday February 12, 2009
JavaScript can put a clock on your web page
Lots of people have digital clocks on their web page. With this script you can go one better with an analog clock ... Read More
Strings
Wednesday February 11, 2009
Text strings are one of the most common pieces of content you will want to work with in JavaScript
This sixteenth tutorial on Modern JavaScript looks both at how to define ... Read More
Number of Tuesdays This Month
Tuesday February 10, 2009
Is there any question JavaScript can't answer?
Not necessarily Tuesdays but any day of the week. You know that there are either four or five of a given day of the ... Read More
Changing When the Week Starts
Monday February 9, 2009
JavaScript weeks run from Sunday to Saturday
When the idea of collecting days into groups of seven and calling them weeks was first though of with each day of the week ... Read More
Pattern Reference
Sunday February 8, 2009
JavaScript supports most of the constructs available in regular expressions in other languages
The series of tutorials on "Regular Expressions" concludes with a complete reference to all of the patterns that ... Read More
Week of Year
Saturday February 7, 2009
When JavaScript doesn't provide a method we can always add it ourselves.
One of the benefits of the predefined objects and classes in Javascript is that if they don't provide the ... Read More
Last Day of Month
Friday February 6, 2009
There is usually more than one way to achieve the same result in JavaScript
There are several ways to determine how many days there are in a given month. Some involve ... Read More
Julian Day
Thursday February 5, 2009
Julian Days now represent a count of the days in over 6720 years).
Adding your own methods to the existing JavaScript objects is the easiest way to extend the functionality of ... Read More
Numbers
Wednesday February 4, 2009
JavaScript has two types of objects for processing numbers
Numbers are one of the most common types of data that you are likely to want to process using JavaScript. In this ... Read More
Multiple Maps
Tuesday February 3, 2009
You can have more than one Google Map in the same page
This nineth tutorial on adding Google Maps to your web page in an unobtrusive way shows you the sort ... Read More
Using Anonymous Functions to Bypass IE Name Bug
Monday February 2, 2009
JScript adds all sorts of variables to the global namespace that JavaScript doesn't.
Where you make use of the extra variables that JScript creates you end up with code that ... Read More
String Methods
Sunday February 1, 2009
In JavaScripts, text strings have methods that take regular expressions as parameters
Since Regular Expressions are often used to manipulate strings of text there are a number of string methods that ... Read More

