Latest web development tutorials

jQuery: button selector

jQuery selector jQuery selector

Examples

Select with type = "button" of <button> and <input> element:

$(":button")

try it"

Definition and Usage

: Button selector with type = button to select the button and input elements.

TIP: Using the selector input: button does not select button elements.


jQuery selector jQuery selector