Internet Services
Future Shock Internet Services in English    Servicios de Internet Future Shock en Espaņol
 

JavaScript Email and Domain Name Validator

Below are examples of the routines found in our Email and Domain Name JavaScript Utilities. This script is free to use, providing none of the comments are removed from the source file. Click the download button above to get a zip file containing the fully commented JavaScript source file and an HTML sample file.


Validate Domain Name
1. Valid domain ending in known TLD (eg. com, net, biz, uk, de, etc)
2. As above but ensure does not begin with 'www.' (eg. for WHOIS lookups)
3. As domain name 1 but do not check TLD

Validate Email Address
1. Valid email address ending in known TLD
2. As above but do not check TLD

 

 

 

 

 
   
Last Modified: 7th February 2007. All content © 2003 Future Shock Ltd