<!-- TWO STEPS TO INSTALL CHECK E-MAIL ADDRESS: 1. Paste the coding into the HEAD of your HTML document 2. Put the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available online from --> <!-- The JavaScript Source!! http://javascriptsource.com --> <!-- Begin function emailCheck() { txt=document.isn.email.value; if (txt.indexOf("@")<3){ alert("I'm sorry. This email address seems wrong. Please" +" check the prefix and '@' sign."); } if ((txt.indexOf(".com")<5)&&(txt.indexOf(".org")<5) &&(txt.indexOf(".gov")<5)&&(txt.indexOf(".net")<5) &&(txt.indexOf(".mil")<5)&&(txt.indexOf(".edu")<5)){ alert("I'm sorry. This email address seems wrong. Please" +" check the suffix for accuracy. (It should include a " +".com, .edu, .net, .org, .gov or .mil)"); } } // End --> </SCRIPT> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <DIV ALIGN=CENTER><INPUT TYPE="text" NAME="email" SIZE=40 VALUE=""><BR> <INPUT TYPE="button" NAME="email1" VALUE=" Submit " onClick="emailCheck()"> </DIV> <!-- Script Size: 1.19 KB -->

1998 Copyright (C) Next Step Software All Rights Reserved