var email = emailAddress.split(",")
                
for(x = 0; x < email.length; x++)
{
        if(validateEmail(email[x])) sendErrorMessage();
}
                

-----Original Message-----
From: Steve Abaffy [mailto:sabaffy@;cditelecom.com]
Sent: Tuesday, October 29, 2002 12:03 PM
To: ActiveServerPages
Subject: Easy Javascript question (I hope)


Hello,
I have a text box that has a list of email address in them and I have a
function which validates email address. I want to know what the javascript
equivalant of the following.

email = Split(request.form("EmailAddress"),vbcrlf)
For x = 0 to UBOUND(email)
        if(validateEmail(email(x))) then
                sendErrorMessage
        end if
Next



---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to