You need to be aware of this situation in your code and know whether myField refers to a single element or to an array of elements. In the following example, the valueGetter function uses a for loop to iterate over the array of elements on the valueTest form. This property specifies the form element's type. The following example writes the value of the type property for every element on a form. This property is tainted by default.
Removes focus from the checkbox.
The method checks the checkbox and sets toggles its value. Gives focus to the checkbox. Parameters None Description Use the focus method to navigate to a the checkbox and give it focus. The user can then toggle the state of the checkbox. Invokes the handler for the specified event.