This is a simple JavaScript showing how to select all or none of the items in a select list. All the items are shown (not a drop down list) only to show that they are all selected or none are selected.
This is a JavaScript example that creates a menu (drop down select list) of all the days in the current month. The current date is selected by default.
This script allows you to add a "select all" feature to your form 'TEXTAREA's, whereby visitors can easily highlight the containing content with a click on a link.
This program illustrates how to actually read and process fields of information from a form (including proper number to number conversion) on a webpage WITHOUT the need of having to actually use the traditional submit button (and writing sometimes long parsing functions that everyone seems to be using) before any processing is done.
This script demonstrates how to prevent your users from submitting the same form data multiple times. If the user click the submit button more than one once, it shows a small message that the form data has been already sent.
This JavaScript shows how to update a text component of a form on a selection change in the same form. It uses the event onchange to trigger the javascript function to go see what is selected and look up the price for that selection. Its design allows the programmer to write the code for the selection order or the definition of the prices in any order he/she wishes.
This shows another method to verify text boxes input and then put the focus into missing data boxes. It also checks some things to see if the email is "valid" - other tests could be added as determine viable. The alerts can be used, but they conflict with the focus thing going on.
Many forms will require the user to enter an email address twice (to check for typographical errors). This script immediately notifies the user when the two fields match - it's a nice, user-friendly touch, and safe for all browsers.