This javascript cut & paste code snippet will allow an e-mail address validation function. It allows the usual user@domain syntax in addition allows user@ip number format as well as "User with Spaces"@domain or ip number.  All of which are legal syntax according to W3C. It also checks that the user hasn't done anything wrong like having multiple @'s or multiple placements in the address (e.g. craig@j@x.com and craig@j..x.co.uk)


Insert this code into your HEAD of HTML

Insert this code into your BODY section

Example: Your Email Address:

Simply Cut and Paste Script code
Be sure to properly place script position in HEAD & BODY sections of html 

This script has been in the DesignerWiz.com Public Library.