jQuery : reset seletor

❮ Seletores jQuery

Exemplo

Selecione os elementos <input> e <button> com type="reset":

$(":reset")

Definição e uso

O seletor :reset seleciona o botão e os elementos de entrada com type=reset.

Dica: Usar input:reset como seletor não selecionará o elemento de botão.


Sintaxe

$(":reset")

❮ Seletores jQuery