Hi guys...
i have this website where i want to check the validity for the email.Have any idea for a javascript that would do the following...
1) check for @ symbol
2) check for the dot symbol
3) i want the domain to be a specfic domain name. (important)
for example... my website domain name is "xyz.com.xy".... and inorder for a user to receive an email from my website they have to be a member. When a user becomes a member to my web site, thier email would be "userid@xyz.com.xy"....the userid can be of any length.
so when they would order any thing ..they will input their email address... but for that the email address should have the domain name "xyz.com.xy". How would i check that ... and ofcourse how would i check for the "@" and "." symbol. The occurance of the dot symbol should be twice and not once.
Any ideas for the above....!!!
:roll: