Saturday, August 27, 2011
Knowledge Base
View All Articles
Latest Articles
Posted on
Feb 27, 2010
under Regular Expressions
| 5058 views
This article gives you a simple code snippet for validating an email textbox field using Regular Expressions. The javascript function is called on onblur event of the textbox, and it will not allow the user to leave the textbox without entering a valid email address. This may look like a disturbing feature, but I have added a simple check at beginning to skip this checkup if the field is blank.
|
Ask a new question
- Post questions related to programming or concepts only.
- Provide a valid email address here for proper communication.
- Provide references from your source codes, whereever applicable.
- Post queries only under relevant categories.