Home Categories JavaScript JavaScripts Forms

WebKnowhow Categories

Auto Email

This JavaScript will help you to e-mail anyone. Just click 'E-Mail Someone!' and JavaScript will ask you for the e-mail address, subject, etc. Then, a new mail message is opened for you.

Check E-Mail

Use JavaScript to ensure that e-mail addresses provided in a form submission contain a prefix, the '@' sign, and an appropriate suffix (.com, .net, etc.).

Check for Maximum Number of Charactors

Verifies that the number of charactors being submitted is less that a certain length.

Clear default form value script

Use this practical script to automatically clear the default value of any form's input field when the mouse sets focus on it. A great time saver for your visitors.

Counter @ The JavaScript Source

If you don't quite have the traffic you'd like to your site, you can use your own fake page counter! Funny! Just don't get too carried away when you set the multiplier.... :-)

Country Chooser

This JavaScript allows users to select a world region and then a second pulldown menu changes with the countries in that particular region.

Date Countdown

This JavaScript will countdown the days, minutes, and seconds until a specified date.

Exit Window

When a visitor leaves your page, JavaScript can automatically open a new window. Use it to say "thanks for visiting", etc.

Forms @ The JavAScript Source

These scripts all deal with Javascript forms. I'll show you some really neat forms that keep you from receiving bogus information as well as others that are just fun to play with (test personal info). Each script comes complete with a demo and source code

HTML Check

This JavaScript checks to see if any HTML tags are used in a text area form box. If they are found, they are deleted.

Go to 1, 2  Next

Advertisement

Other Resources