jquery - How to validate an email id using javascript? -
this question has answer here:
- how validate email address in javascript? 65 answers
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
Post a Comment