jquery - How to validate an email id using javascript? -


this question has answer here:

i need validate email id user db using javascript/jquery. how can ?

this might helpfull:

function validateemail($email) {     var emailreg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;     return emailreg.test( $email ); } 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -