Codeasearch.com - Search your code with us Login | Register | Contact us
  Forums > Javascript > email validation
webhelp
Posted on Dec 3, 2008
Join Date: November 2008
Location: India ( Chennai )
Posts: 21
 
email validation  

This for email validation

function isEmail(objField){ if(objField.value.length > 0){ if(/^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$/.test(objField.value)){ return true; } } alert("Invalid E-mail Address! Please re-enter."); objField.select(); return false;
}

 Hot Discussion
Go Tech launches Android tablet for Rs 3,999...
Sony targets retailers with quick sales pitches and rew...
Share and discover new activities with Google Schemer...
Samsung gets 9 mn preorders for Galaxy S3: Report...
Google revamps search engine to think like a person...
 
 Discussion Topics
IT News
Php
Javascript
Technology Updates
Asp.Net
MySql
Ajax
Html
Fedora
Software Testing
Asp
Java
General
Flash
Ruby on Rails