•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 361,871 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,394 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 4412 | Replies: 2
![]() |
| |
•
•
Join Date: Jul 2006
Posts: 173
Reputation:
Rep Power: 3
Solved Threads: 4
Hi Friends
I need to validate the email address when submit the form using java script. When I enter one email address i have to val;idate the mail id. But at the same time I have entered multiple email address seprated by comma . I unable to validate
How can i validate the multiple email address when i click on the form .
Please advise
I need to validate the email address when submit the form using java script. When I enter one email address i have to val;idate the mail id. But at the same time I have entered multiple email address seprated by comma . I unable to validate
How can i validate the multiple email address when i click on the form .
Please advise
Last edited by vssp : May 21st, 2007 at 1:45 am. Reason: enter more
Thanks
VSSP
VSSP
•
•
Join Date: May 2007
Posts: 20
Reputation:
Rep Power: 0
Solved Threads: 0
Hi VSSP, use something like this 

<script>
function Validate(id) {
var list=document.getElementById(id).value.split(',');
for (y=0; y<list.length; y++)
alert('Validate this email:'+list[y]);
}
</script>
<input type="text" name="email" id="email" value="mail@mail.com,mail@mail.net">
<input type="button" value="Validate" onclick="Validate('email');"> Join a forum for webmasters and developers
HTML Forum
HTML Forum
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
ajax asp browser cell developer development email encryption eudora firefox gmail google html imap internet java javascript microsoft microsoft sdk for java microsystems mobile mozilla msdn news office onecare open source opinion outlook penelope phishing phones platform professional programming research security site software spam spamming sql stocks sun technology thunderbird virus vista web webmail
- FireFox config setting through Java Script (Community Introductions)
- HELP : email validation (Shell Scripting)
- How to Embed CheckList Box on HTML Page using Java Script (HTML and CSS)
- Need Email validation source code (C#) (C#)
- JavaScript -- Validating an email address (JavaScript / DHTML / AJAX)
- A question on java script?(Please answer ASAP) (Java)
- java script for main menu (ASP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Import javascript in javascript
- Next Thread: how to pass values to called function


Hybrid Mode