Tag Archives: Java Script Email Validation

EmailValidation

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”&gt;<html> <head>  <title> New Document </title>  <meta name=”Generator” content=”EditPlus”>  <meta name=”Author” content=””>  <meta name=”Keywords” content=””>  <meta name=”Description” content=””> </head><script>function ValidateEmail(inputText)  {  var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;  if(inputText.value.match(mailformat))  {  document.form1.text1.focus();  return true;  }  else  {  alert(“You have … Continue reading

Posted in Uncategorized | Tagged | Leave a comment