[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-24 Thread Kuo Yang
With pleasure. My English is not so good,so I paste the code directly: //copied from http://www.webtoolkit.info/javascript-trim.html function trim(str, chars) { return ltrim(rtrim(str, chars), chars); } function ltrim(str, chars) { chars = chars || "\\s"; return str.replace(new RegEx

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Kuo Yang, * * *Thanks for your reply.* *I am doing the same thing, but if i am entering any other charecter like ( _ | ) ( ] [ )* *instead of comma, so its considering as a string & after that not able to validate it.* * * *I am writing this kind of functions to validate my multiple email value

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Mohd.Tareq
Hi Kuo Yang, * * *Thanks for your reply.* *I am doing the same thing, but if i am entering any other charecter like ( _ | ) ( ] [ )* *instead of comma, so its considering as a string & after that not able to validate it.* * * *I am writing this kind of functions to validate my multiple email value

[jQuery] Re: Need to validate Multiple email IDs with Comma Seprated

2009-07-23 Thread Kuo Yang
You can split the Emails with the comma, and then validate them one by one. On Thu, Jul 23, 2009 at 9:49 PM, Mohd.Tareq wrote: > > Hi Guys, > > Can any one tell me validation ' *Email Validation for multiple emails > (comma separated)* ' for textarea. > > I am writing Regular expression but not