` and ``: --- ## Definition and Usage The :button selector selects button and"> ` and ``: --- ## Definition and Usage The :button selector selects button and" />
Easy Tutorial
❮ Eff Finish Jquery Traversing Siblings ❯

jQuery :button Selector

jQuery Selectors

Example

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


Definition and Usage

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

Note: Using input:button with this selector will not select button elements.


jQuery Selectors

❮ Eff Finish Jquery Traversing Siblings ❯