I am getting runtime error , please find the code and help me
$(document).ready(function () {
$("#txtregUsername").blur(function (e) {
var Username = $("#txtregUsername").val();
if (Username == "" || Username == 0) {
alert("Please valid E-Mail Adress");
debugger;
}
else {
validateEmail(emailID);
}
});
});
function validateEmail(sEmail) {
var filter = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
if (filter.test(sEmail)) {
return true;
}
else {
return false;
}
}

Raja TPosted Aug 6, 2015, 5:46 AM
Raja TPosted Aug 6, 2015, 5:38 AM
Manas MohapatraPosted Aug 6, 2015, 5:25 AM
Rajeesh MenothPosted Aug 6, 2015, 5:23 AM