Watch this script provide the correct countries for each continent

If you do not permit (or support) JavaScript, the countries menu will simply display all countries as well as continent headings.

Select a continent or area

Select a country (ok, so some of them aren't strictly countries but I don't care)

This script is somewhat hard to understand as it is very efficient, optimised code. Whilst each concept it uses is easy, the way they work together may be difficult to understand. This script should only be attempted by experienced programmers.

This script is more customised than my other example scripts and is written purely for this purpose. If necessary it could be modified, for example, to provide a calendar that provides the correct number of days per month. It is not possible to use this script in any generic way without significant modification.

None the less, If you want to use this script on your page, you are welcome to use the [Download] JavaScript header file. Please see the terms and conditions page for terms of use. Please see my JavaScript libraries page for other free scripts.


Back to JavaScript language reference