The user can then toggle the state of the checkbox. An object reference specifying the form containing the checkbox. Each form element has a form property that is a reference to the element's parent form. This property is especially useful in event handlers, where you might need to refer to another element on the current form. See also Form handleEvent Invokes the handler for the specified event.
Parameters event The name of an event for which the specified object has an event handler.
A string specifying the checkbox's name. Property of Checkbox Implemented in JavaScript 1.0 Security JavaScript 1.1. This property is tainted by default. For information on data tainting, see the Client-Side JavaScript Guide . If multiple objects on the same form have the same NAME attribute, an array of the given name is created automatically.