Category: Forms

These methods and event handlers handle forms and their various elements.

.blur()

Bind an event handler to the “blur” JavaScript event, or trigger that event on an element.

.change()

Bind an event handler to the “change” JavaScript event, or trigger that event on an element.

.focus()

Bind an event handler to the “focus” JavaScript event, or trigger that event on an element.

.focusin()

Bind an event handler to the “focusin” event.

.focusout()

Bind an event handler to the “focusout” JavaScript event.

jQuery.param()

Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties.

.select()

Bind an event handler to the “select” JavaScript event, or trigger that event on an element.

.serialize()

Encode a set of form elements as a string for submission.

.submit()

Bind an event handler to the “submit” JavaScript event, or trigger that event on an element.

.val()

Get the current value of the first element in the set of matched elements or set the value of every matched element.

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/forms