src code

instance method Form#getInputs

Form#getInputs([type [, name]]) → [Element…]
  • type (String) – A value for the type attribute against which to filter.
  • name (String) – A value for the name attribute against which to filter.

Returns a collection of all INPUT elements in a form.

Use optional type and name arguments to restrict the search on these attributes.

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.