jQuery :button Selector

Example

Select <button> elements and <input> elements with type="button":

$":button"

Try It Yourself

Definition and Usage

:button selector selects <button> elements and <input> elements of type button.

Syntax

$":button"

Tips and Comments

Tip:Using input:button with this selector will not select <button> elements.