Thursday November 26, 2009
All browsers now come with a popup blocker to block popup windows opened automatically by JavaScript. Unfortunately some are not as good as others at detecting the difference between an automatic and a requested popup window. By changing the way you code the JavaScript you can improve the chances that your popup window will make it passed the blocker when your visitor requests it.
Popups and Blockers
Wednesday November 25, 2009
It isn't only the start of a text string that we can validate for being one of specific values. In the twelfth validating forms tutorial we look at how you can apply the same sort of test to the end of the text.
Ending Values
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?