ExampleSelect button elements and input elements with type="button":
Try it yourself » |
The :button selector selects button elements, and input elements with type=button.
$(":button") |
Tip: Using input:button as a selector will not select the button element.