Archive for June 13th, 2009
Javascript: How to validate email address with JavaScript?
Posted on 13. Jun, 2009 by Dragos.
1
Here’s a piece of code I found while I was browsing the JQuery UI pages to easily validate email addresses. The code below represents a general validation function, that requires two parameters:1. the string value of an obkect and 2. the regular expression to check the string against function checkRegexp(o,regexp) { if ( !( regexp.test( [...]


