How to do email vaildation in javascript?

Discussion in 'JavaScript' started by Ruriko, May 22, 2009.

  1. #1
    How do you create in javascript to do email vaildation? to check

    must contain 1 @
    must contain 1 letter before the @
    must contain 1 letter after the @
    must not contain spaces, slash, colon, comma or semicolon

    if the any of the rules are wrong it will alert the user saying "Invalid Email"
     
    Ruriko, May 22, 2009 IP
  2. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    camjohnson95, May 22, 2009 IP
  3. JavaScriptBank.com

    JavaScriptBank.com Peon

    Messages:
    141
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0