Hi everybody,
I have an .asp page for my customers which does just accepts e-mail information and passes this information to another .asp page. But before passing the info, a javascript checks whether the entered e-mail does match some certain rules.

Rule1: If any input has been made at all,
Rule2: If an "@" sign is there, if the"." is there and so on.

upon pressing the submit button, the first rule works but the second rule does not. Could not figure it out why.

It is the function control() which validates the e-mail field. But it just validates whether the e-mail has been entered or not. The second check (with the @ sign) is not being made.
Thanks for all your comments.