/***********************************************
* Email Validation script
***********************************************/
var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
function checkmail(e){
var returnval=emailfilter.test(e.value)
if (returnval==false){
alert("Please enter a valid email address.")
e.select()
}
return returnval
}
For more info : www.shashionline.in
Monday, August 27, 2007
Subscribe to:
Post Comments (Atom)

2 comments:
Excellent working?
Keep it Up!
good working example
Post a Comment