Could use a little help with live validation

Hey, I have a simple coming soon page that I just put up.

I am having trouble with a few things and would greatly appreciate help.

The URL is: http://glassiator.com/ec/index.php

I have two problems currently, and I am new to Javascript.

  1. After someone enters an email address, and clicks submit, AJAX is used to automatically send a “Thank you” message on the page. The only problem is that the text area and submit button and “Enter your email address” text are all still there. Is there a way to replace all of that with the “Thank you” message?

  2. Lastly, I am trying to include LiveValidation, so while you type your email address, I can send a message to the browser. I can’t figure out how to implement it. I downloaded it, and uploaded it to my server, and I included a link to the script at the top of my .php file, but I can’t seem to get it working. The link for what I am trying to do is this : http://livevalidation.com/examples#exampleEmail

Anyways, that is all of the questions I have for now.

If anyone has any suggestions or criticisms, please let me know.

Thanks,

Steve

  1. this appears to be a protoform issue, which stems from the Prototype library.

The documentation for ProtoFormClass is at http://cssrevolt.com/upload/files/protoformclass/

I see that it uses css class names to specify different things.
One possible solution is to update the protoformclass code so that it updates a class on the form itself to indicate different things, such as class=“submitting” and class=“successful”

  1. I suggest posting a separate thread about this, so that this thread doesn’t end up becoming mixed-up and confusing due to mixing the streams.