function ValidateForm()
{
var emailID=document.frmSample.txtEmail
if ((emailID.value==null)||(emailID.value==""))
{
alert("Please Enter your Email ID") ;
emailID.focus();
return false ;
}
if (echeck(emailID.value)==false)
{
emailID.value="" ;
emailID.focus() ;
return false ;
}
return true
}
No comments:
Post a Comment