If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Do not use the javascript shown on this page

Do not use the JavaScript shown on this web page to validate email addresses. All of the examples shown here are wrong..

For more information, see http://www.iana.org/domains/root/db/ for a list of valid top level domains. See especially the "gTLDs" section (there is a link to that section at the top of the page). The JavaScript examples on this page assume a top level domain name can only have 2 or 3 characters. That has not been correct for over 10 years, and if you use this JavaScript many people will be unable to enter their valid email addresses into your web page.

Do not attempt to validate email addresses using JavaScript unless:

You are capable of writing the JavaScript yourself without seeking assistance from a web forum;

You test your code extensively; and

You are ready and able to monitor the IANA list and keep your code up to date;