CODE LAB: Javascript Email Validation

JavaScript is used everywhere online these days – to improve website interactivity, to validate information, and/or to improve a website outlooks.


<form onSubmit="return validateEmail(this);" action="">
		E-mail Address:
		<input type="text" name="emailid" />
		<input type="submit" value="Submit" />
		<input type="reset" value="Reset" />

* Disclaimer. Since free code is available out there on the internet, and so many people have written up about the use of it I decided to use some examples from a source I trust. And in this line I would like to thank them and everyone else that shares there code, for this and reference them in this regard.