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 JavaScript shows how to have a form-based question validated on the submit. It builds the new page which it writes to the window after the answer is submitted. It tells on the new page if you got the answer right or not.
Along with explanation this is a JavaScript that you can use with your forms to make sure that your visitors complete the necessary fields in your forms before the submission.
ResizeObjects is a set of Javascript functions that that enable a user to build a form and dynamically resize the form objects depending on the size of the browser window. It is copyrighted, and distributed under the GNU Public License.
This JavaScript example shows how to create a form that has a portion of the form shown (or hidden) upon certain user events. (radio button selection by the user in this example) Note: Netscape has a problem with embeding a portion of a form inside a DIV/SPAN/LAYER, which is why there are three forms shown here, but once you have the values, its easy enough to pull the information together before running the target of the frame.
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.
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.