protected void Btn_Submit_Click(object sender, EventArgs e) if{validation == true} { SendUserMail("mailid",txt_mail.text,"Hi How are you"); string Body = "fname.text", "name.text", "mail.text"; SendUserMail("mail", body); } else { messge box = please enter the fld }
function validateEmail(elementValue){ var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; return emailPattern.test(elementValue); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)