You can refer to a form's elements in your code by using the elements array. Each radio button in a Radio object appears as a separate element in the elements array. The value of each element in the elements array is the full HTML statement for the object. Examples See the examples for window . Invokes the handler for the specified event.
Parameters event The name of an event for which the specified object has an event handler.
Description For information on handling events, see the Client-Side JavaScript Guide . The number of elements in the form. The form.length property tells you how many elements are in the form. You can get the same information using form.elements.length . A string specifying how form field input information is sent to the server.