AJAX e-mail submitter
Version: 2
Created by: Jayd Saucedo (Saurdo - www.saurdo.com)
Date created: 08/22/10
License: GNU GENERAL PUBLIC LICENSE
Demo: http://saurdo.com/test/ajax/email/
Contact: me@saurdo.com or www.saurdo.com/contact

This script is designed to collect e-mail address through a form that dynamically checks and stores user input. The code is designed to be implemented into a design on a page on a website. This is released under a GNU general public license, which means that this script is free and you are free to redistribute it so long as you give me original credit and preferably give a link to my website.

If you have any problems, suggestions, or comments please do not hesitate to email me. I am more than happy to help.

Instructions:

1. Navigate to the "em_sub" folder and open "email.js" in notepad or a similar application. Enable or disable the cookie signup option by writing "true" or "false" without quotation marks after "var use_cookie = " (you can learn more about cookie signup by reading below). You may also want to change the message a user receives upon signing up. Do so by changing the text after "var cookie_signedup = " in quotation marks.

2. Upload the "em_sub" folder in the directory that you plan to implement the script. For example if the page you want to put the form on is located at "http://www.example.com/blog/signup.php". You'll want to upload the "em_sub" folder to "http://www.example.com/blog/" so the path would be "http://www.example.com/blog/em_sub/"

3. Open the "example.html" file in notepad or a similar application. Copy the "" text at the top of the example page and paste it into the header area of your page (between the tags).

4. Copy the rest of the text and paste that into your design where you want the input box to appear.

5. Upload your page and test!

Cookie Signup info: This feature makes it so that once a user signs up and refreshes the page they are no longer presented with the input box. They are instead presented with text defined by you in the "email.js" file. By disabling this feature you allow someone to sign up multiple e-mail addresses.

Thanks for downloading!

- Jayd Saucdo