Seletores :input do jQuery

Exemplo

Selecione todos os elementos <input>:

$(':input')

Experimente você mesmo

Definição e Uso

O seletor :input seleciona elementos de formulário.

Este seletor também se aplica ao elemento <button>.

Sintaxe

$(':input')