Javascript Tutorial
Top 20 Similar Javascript Tutorials
Email Validation
This tutorial contains a java script code which is a simple e-mail address validation script. While it is not too sophisticated, it does provide the basic validation function.
General »
Email Domain
Takes an email address and returns just the domain - the stuff after the "@" sign. We've put it together with a simple WHOIS query, neat!
General »
Email Address Validation
This is an e-mail address validation function. It allows the usual user@domain syntax, but in addition allows user@[ip] format as well as "User with Spaces"@domain or [ip], all of which are legal syntax, according to W3C. It also checks that the user hasn't done anything silly like having multiple @'s or continuous .'s in the address (e.g. jim@b@c.com and jim@c..b.co.uk)
General »
Floating Email-This-Link
This script displays a floating layer that moves with the page, which contains an "email-this-link" script. The e-mail script automatically captures the URL of the page and opens up your e- mail with all the pertinent information.
General »
Email Address Protector
Here's a clever way to prevent email address collecting "robots" from grabbing your email address while still making your address available to your visitors.
General »
Extract Email Addresses
Visitors sometimes include their email address inside the message field when they fill out forms. To deal with this, this script parses through the string and uses a Regular Expression to find then return a comma-separated list of the valid email addresses it finds.
Forms »
Page Up For
JavaScript can even display how long your web page has been online. Just enter the date, the script does the calculations, and prints out the time. It has a very nice readout and looks very professional!
General »
Page Extension
Displays a message based on the extension (like .html) of the web page. And, it is a breeze to add more file types to the script.
General »
Send This Page
This script opens an e-mail message and inserts the URL and title of the Web page into the body of the message. Additional text can be added to the e-mail message.
General »
Talking Web Page
This great little script is easy to customize and gives answers to questions that your visitors may have. A must have for any Web site FAQ page
General »
Platform Page
Do you maintain a different version of your site for Windows and another for Mac users? Or, when allowing your visitor to download items from your site, would you like to automatically redirect them to the appropriate software download page for their computer? This script does it all, and it's short too!
General »
Share A Page
If you would like to have several sites sharing one 'contact us' page, you can! Each site can link to the same page (but each with a unique string) and the appropriate site's information will be highlighted yellow in the contact table. For example, If they clicked on the 'contact us' link on the real estate page, the table cell with the real estate contact email address will be highlighted yellow instead of white on the contact us page. Clever!
General »
Print Page
Although JavaScript can't print a web page automatically, it can bring up the print prompt box just like the print button in the web browser does. The user can click "OK" to print the page. The script can be placed as a reminder to your visitors to print out important pages which contain their passwords, account info, order number, etc. The script can also be set to automatically remind them when the page loads.
General »






