I do it with this plain-old Javascript:

var emailRe = /^\w+([\.-]?\w+)[EMAIL 
PROTECTED]([\.-]?\w+)*\.(\w{2}|(com|net|org|
edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/
if(!emailRe.test(document.F1.email.value)) {
        alert("Bad Email")
}


On Jun 30, 7:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> How to validating email with Ajax and Prototype Library?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to