»
AnglaisFran�aisVietnamien

Imprimer - Mail Validator - JavaScriptBank.com

Version compl�te: jsB@nk » Email » Mail Validator
URL: https://www.javascriptbank.com/mail-validator.html

Mail Validator © JavaScriptBank.comUn simple JavaScript pour vérifier le mail de validation.

Version compl�te: jsB@nk » Email » Mail Validator
URL: https://www.javascriptbank.com/mail-validator.html



JavaScript
<SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction checkEmail(myForm) {if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.emailAddr.value)){return (true)}alert("Invalid E-mail Address! Please re-enter.")return (false)}//  End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form onSubmit="return checkEmail(this)">E-mail Address:<br><input type="text" name="emailAddr"><p><input type="submit" value="Submit"><input type="reset" value="Reset"></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->