Latest web development tutorials

jQuery: submit selector

jQuery selector jQuery selector

Examples

Select with type = "submit" in the <input> and <button> element:

$(":submit")

try it"

Definition and Usage

: Submit selector button and select the input elements with type = submit a.

If the button is not defined element types, most browsers will submit the elements as the type of button.

TIP: Using the selector input: submit button is not selected element.


grammar

$(":submit")


jQuery selector jQuery selector