Tuesday November 24, 2009
It isn't enough just to write JavaScript and hope that it will work. You need to test your JavaScript so that you know that it will work. Also since certain web browsers process scripts slightly differently than others, it is necessary to test in multiple web browsers. Fortunately, most web browsers provide you with everything you need to be able to find and fix the errors that inevitably occur.
Debugging JavaScript
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