findFirstElement

findFirstElement(formElement) -> HTMLElement

Finds first non-hidden, non-disabled form control.

The returned object is either an INPUT, SELECT or TEXTAREA element. This method is used by the focusFirstElement() method.

Note

The result of this method is the element that comes first in the document order, not the tabindex order.