| To customize this JavaScript so it works with your server-side script correctly, you will need to make the following changes:
Usually, if you want your form to actually do something, you need to have a "method" and "action" attribute in your form tag. (like this: <form action="myscript.cgi" action="get">). If you use this validation script, you CANNOT do this. You need to change your form tag to look like this: <form onSubmit="verifyEmail(this)">. Then, you replace what would be in your form tag (the action="myscript.cgi" and action="get") and put them into the JavaScript in the <HEAD>...</HEAD> of your HTML document. The part you will be changing is bold in the script above. |