Need to know how?

Hi,

I wanted to get some help in using some script. Actually i need the script.

The thing i want is like i will have a input text field for someone to type his email address, but after he presses the send button i want it to check that input field and see if there is the “@” and the “.” symbol available in the field or no. Can someone please be kind to provide me the script on the button that i should keep.

Thanks,
Regards.