Mailto: Alerts

Name:

Script by: Josh Stark" Josh Stark

     Here's what the script does in the author's words:

     This JavaScript is a lot like the 'Mailto: verification' script you made (which I found out after I made this script). This one is different in a few ways, but the main and most important reason is:

     On yours you used the 'onBlur' statement, which only works on Netscape 3.0 and higher since it's a new JavaScript 1.1 command. Mine will work with the 'lesser' browsers.

     1)This script can be used on any form, no matter how many text boxes or radio buttons, etc. Just make sure that the text box (or list, or radio button, etc for the matter) that holds the user's name is called 'username'.

     Example: <INPUT TYPE="text" LENGTH="16" NAME="username">

     2)Inside the JavaScript you will see "mailto:address@server.com" simply change the e-mail address to your own.

     3) If you have more than 1 form on your page, change the part in the script: "document.forms[0].username.value" change the [0] to the number of how many forms you have minus one (since 0 instead of 1 stands for the first form)

     Ok, that's all. :-)

      Grab the Script

     Please note: This script is being offered in simple text format. When you click to Grab the Script, the text should display. Internet Explorer and AOL users may get a blank page or the script may run and produce the effect. If this happens, choose SAVE AS from the FILE menu and save the blank or compiled page.

Back to the Button, Links, and E-Mail Scripts