Tools for Making JavaScript
Saturday August 30, 2008
You don't need to spend loads of money to be able to add JavaScript to your pages
To be able to write and test JavaScript you need five programs. While there ... Read More
Faster DOM Access
Friday August 29, 2008
Unobtrusive JavaScript is less obvious if you access the elements as they load.
One of the biggest disadvantages that updating a web page via the DOM has is that the element ... Read More
How to Attach JavaScript into Your Page
Thursday August 28, 2008
JavaScript can be kept completely separate from your HTML with just one statement to link them together
JavaScript used to be added all over the place in web pages making a ... Read More
Can JavaScript Close This Window?
Tuesday August 26, 2008
JavaScript can tell whether the current page is in a window opened by JavaScript
JavaScript can only close windows (and tabs) that were opened by JavaScript. If the window or tab ... Read More
Adding a Marker
Monday August 25, 2008
The Google Map equivalent of 'X marks the spot' is the marker.
In this fifth tutorial on the JavaScript to use to control your Google Map we look at how to ... Read More
Disable JavaScript
Saturday August 23, 2008
Web pages should always be usable without JavaScript
To properly test your web pages you need to consider those people who have Javascript disabled. You need to test your page with ... Read More
User Agents
Friday August 22, 2008
JavaScript browser sensing is useless.
When you code your JavaScript what you are interested in is whether the browser being used supports the code or not. This can be most easily ... Read More
Addslashes and Stripslashes
Thursday August 21, 2008
When JavaScript doesn't have functions to do something built in we can add our own
PHP has these useful functions that will escape those characters that can cause confusion when they ... Read More
Adding a Marker
Tuesday August 19, 2008
The Google Map equivalent of 'X marks the spot' is the marker.
In this fifth tutorial on the JavaScript to use to control your Google Map we look at how to ... Read More
JavaScript and Emails
Tuesday August 19, 2008
Email programs are very different to Web Browsers regarding JavaScript.
One format that most email programs support to send emails in is HTML. Just because you can use HTML in emails ... Read More
Latitude and Longitude
Monday August 18, 2008
Google Maps can display any location based on its latitude and longitude
The easiest way to specify what part of our planet that you want your Google map to display is ... Read More
Cross Field Validation
Sunday August 17, 2008
Sometimes the valid values for one form field depend on the value of another field
In the last (for now) JavaScript tutorial on form field validation we consider the need to ... Read More
Site Navigation
Saturday August 16, 2008
JavaScript allows you to use a drop down list for site navigation
If you have lots of pages on your web site then providing a plain list of links will take ... Read More
Display Author Time
Friday August 15, 2008
JavaScript can tell the time at different places
Let your visitors know what time it is where you are with this JavaScript. As long as your visitor's have their local time ... Read More
Expanding and Shrinking Text Banner
Thursday August 14, 2008
Animate text with JavaScript
Create an attention grabbing text banner on your page by having the text expand and then shrink to be replaced by the next line of text.
Expanding and ... Read More
"Dojo: The Definitive Guide"
Tuesday August 12, 2008
Even bad products can have good books written about them
There are mediocre JavaScript libraries and there are some really bad ones as well and each has its followers who disregard ... Read More
"Object-Oriented JavaScript"
Monday August 11, 2008
A book that demonstrates some of what JavaScript can really do.
There are lots of books around that introduce beginners to JavaScript as well as quite a few that show you ... Read More
Validate on Submit
Sunday August 10, 2008
Your visitor may not access all the fields in the form so validating each field individually is not enough.
As well as validating individual fields in a form you should also ... Read More
Limiting Selections
Saturday August 9, 2008
JavaScript bridges the gap between radio buttons and checkboxes.
Radio buttons work perfectly when you want your visitors to select one out of a number of options. They don't help when ... Read More
Limiting Textarea Text
Friday August 8, 2008
JavaScript can add the functionality missing from HTML.
You can easily specify the amount of text that can be entered into an input field using the maxlength attribute. There is no ... Read More
Counting Words
Thursday August 7, 2008
Count words with JavaScript
Have a text area in a form and want to know how many words your visitor enters? This simple JavaScript will keep count for you.
Counting Words
Multiple Slideshows with Captions
Tuesday August 5, 2008
Unobtrusive JavaScript may be slightly longer than if you jumbe the JavaScript in with the HTML but it is a lot more flexible.
This unobtrusive slideshow script contains a number of ... Read More
Zooming In and Out
Monday August 4, 2008
Setting the scale of your Google Map is the simplest first step
Once we have the code that we need to add a Google Map to our web page we need ... Read More
Individual Field Validations
Sunday August 3, 2008
There are several places to attach validation of form fields with JavaScript
So far in our tutorials on validating forms we have looked at the JavaScript needed to perform different types ... Read More
Debugging JavaScript
Saturday August 2, 2008
The various web browsers provide you with all of the facilities you need to locate the errors in your JavaScript code.
It isn't enough just to write JavaScript and hope that ... Read More
JavaScript Encryption
Friday August 1, 2008
Real Encryption is possible with JavaScript
Almost all of the more knowledgeable JavaScript programmers claim that truly hiding your page source so that only those with the right password can access ... Read More

