Saturday, December 22, 2007
Sometimes you have a situation where a text field must contain two specific characters somewhere in the text string and although they don't have to appear in set positions, one of those chara...
Saturday, December 22, 2007
In previous tutorials we have looked at checking for the existance or non-existance of specific characters or character combinations. We have also looked at how to check that the characters appea...
Saturday, December 22, 2007
Continuing on from the previous tutorial on testing that the text starts with one of a limited range of values, let's now look at how we test that the text ends with one of a limited range of...
Saturday, December 22, 2007
It is not possible to use Javascript to check that a credit card number that someone enters into your form belongs to them or that the card number has even been issued to anyone since these tests require access to databases containing valid...
Saturday, December 22, 2007
Validation of date fields is not a straightforward task. Not only are there different ways that a date can be entered (all numeric, alphabetic month etc.) but there are also three different formats that are used for dates in different parts...
Saturday, December 22, 2007
Have you ever thought that it would be useful to be able to count the number of words that have been typed into a text field or text area. Well here's a script that dynamically keeps track of...
Saturday, December 22, 2007
Introduction Just about all programming courses start off with a simple program called "Hello World". This program is designed to output the text "Hello ...
Saturday, December 22, 2007
Introduction In this tutorial we will build on what we learned with our first script by creating a variable and displaying the value of that on our web page instead of display...
Saturday, December 22, 2007
Introduction In the last tutorial you learned how to create variables. In this tutorial we are going to look at how those variables can be manipulated using operato...
Saturday, December 22, 2007
This short quiz will test your knowledge of Javascript basics including variables and operators. This quiz was built with the Javascript Quiz Maker. ...