Selektor :button jQuery

Przykład

Wybór elementów <button> i <input> o atrybucie type="button":

$":button"

Spróbuj sam

Definicja i użycie

Selektor :button wybiera elementy <button> i <input> o typie button.

Gramatyka

$":button"

Uwagi i komentarze

Uwaga:Użycie tego selektora z input:button nie wybiera elementu <button>.