Monday November 23, 2009
A small but significant number of people accessing the web do so with JavaScript turned off in their browser. Some even access the web with browsers that don't support JavaScript. We need our web pages to work for these visitors as well as those who do have JavaScript. What purpose does JavaScript serve when some of our visitors will not see its affect at all?
Why JavaScript?
Sunday November 22, 2009
The fourth tutorial on "Regular Expressions" shows you how to split a string into several parts by matching it with a regular expression.
Splitting Matches
Saturday November 21, 2009
JavaScript can display the answer in roman numerals
Sometimes displaying a number on your web page as a normal number just doesn't look right. Sometimes it may be more appropriate to display the number on your web page using Roman Numerals instead. This simple Javascript function can handle the conversion of any number between 1 and 3999 into the roman numeral equivalent for you.
Convert to Roman Numerals
Friday November 20, 2009
Convert numbers to Words with JavaScript.
JavaScript does an excellent job of being able to manipulate numbers and even provides some quite advanced mathematical functions. What happens though when you want to print out the result of that manipulation in words rather than numbers? You use a
simple function that will do the conversion for you.
Numbers to Words