input selector
Description: Selects all input, textarea, select and button elements.
version added: 1.0jQuery( ":input" )
The :input selector basically selects all form controls.
Additional Notes:
-
Because
:inputis a jQuery extension and not part of the CSS specification, queries using:inputcannot take advantage of the performance boost provided by the native DOMquerySelectorAll()method. To achieve the best performance when using:inputto select elements, first select the elements using a pure CSS selector, then use.filter(":input").
Example:
Finds all input elements.
