Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

jQuery :button Selector

❮ jQuery Selectors


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

Try it Yourself »

Definition and Usage

The :button selector selects button elements, and input elements with type=button.

Tip: Using input:button as a selector will not select the button element.

❮ jQuery Selectors