Easy Tutorial
❮ Event Off Eff Delay ❯

jQuery :submit Selector

jQuery Selectors

Example

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


Definition and Usage

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

If a button element does not have a defined type, most browsers will treat it as a button with type submit.

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


Syntax


jQuery Selectors

❮ Event Off Eff Delay ❯