• jQuery
  • jQuery UI
  • jQuery Mobile
  • Sizzle
  • QUnit
  • Plugins
  • Contribute
    • CLA
    • Style Guides
    • Bug Triage
    • Code
    • Documentation
    • Web Sites
  • Events
  • Support
    • Learning Center
    • Chat
    • Stack Overflow
    • Report a bug
  • OpenJS Foundation
    • Join
    • Members
    • jQuery Team
    • Governance
    • Conduct
    • Projects

jQuery API Documentation

  • Download
  • API Documentation
  • Blog
  • Plugins
  • Browser Support
  • Version Support

Category: Forms


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

Also in: Events > Form Events

blur event

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

Also in: Deprecated > Deprecated 3.3 | Events > Form Events

.blur()

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

Also in: Events > Form Events

change event

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

Also in: Events > Form Events

focus event

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

Also in: Deprecated > Deprecated 3.3 | Events > Form Events

.focus()

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

Also in: Events > Form Events

focusin event

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

Also in: Deprecated > Deprecated 3.3 | Events > Form Events

.focusin()

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

Also in: Events > Form Events

focusout event

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

Also in: Deprecated > Deprecated 3.3 | Events > Form Events

.focusout()

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

Also in: Miscellaneous > Collection Manipulation | Ajax > Helper Functions

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.

Also in: Events > Form Events

select event

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

Also in: Ajax > Helper Functions

.serialize()

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

Also in: Ajax > Helper Functions

.serializeArray()

Encode a set of form elements as an array of names and values.

Also in: Events > Form Events

submit event

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

Also in: Attributes | Manipulation > General Attributes

.val()

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

  • Ajax
    • Global Ajax Event Handlers
    • Helper Functions
    • Low-Level Interface
    • Shorthand Methods
  • Attributes
  • Callbacks Object
  • Core
  • CSS
  • Data
  • Deferred Object
  • Deprecated
    • Deprecated 1.3
    • Deprecated 1.7
    • Deprecated 1.8
    • Deprecated 1.9
    • Deprecated 1.10 & 2.0
    • Deprecated 3.0
    • Deprecated 3.2
    • Deprecated 3.3
    • Deprecated 3.4
    • Deprecated 3.5
    • Deprecated 3.7
  • Dimensions
  • Effects
    • Basics
    • Custom
    • Fading
    • Sliding
  • Events
    • Browser Events
    • Document Loading
    • Event Handler Attachment
    • Event Object
    • Form Events
    • Keyboard Events
    • Mouse Events
  • Forms
  • Internals
  • Manipulation
    • Class Attribute
    • Copying
    • DOM Insertion, Around
    • DOM Insertion, Inside
    • DOM Insertion, Outside
    • DOM Removal
    • DOM Replacement
    • General Attributes
    • Style Properties
  • Miscellaneous
    • Collection Manipulation
    • Data Storage
    • DOM Element Methods
    • Setup Methods
  • Offset
  • Properties
    • Properties of jQuery Object Instances
    • Properties of the Global jQuery Object
  • Removed
  • Selectors
    • Attribute
    • Basic
    • Basic Filter
    • Child Filter
    • Content Filter
    • Form
    • Hierarchy
    • jQuery Extensions
    • Visibility Filter
  • Traversing
    • Filtering
    • Miscellaneous Traversing
    • Tree Traversal
  • Utilities
  • Version
    • Version 1.0
    • Version 1.0.4
    • Version 1.1
    • Version 1.1.2
    • Version 1.1.3
    • Version 1.1.4
    • Version 1.2
    • Version 1.2.3
    • Version 1.2.6
    • Version 1.3
    • Version 1.4
    • Version 1.4.1
    • Version 1.4.2
    • Version 1.4.3
    • Version 1.4.4
    • Version 1.5
    • Version 1.5.1
    • Version 1.6
    • Version 1.7
    • Version 1.8
    • Version 1.9
    • Version 1.11 & 2.1
    • Version 1.12 & 2.2
    • Version 3.0
    • Version 3.1
    • Version 3.2
    • Version 3.3
    • Version 3.4
    • Version 3.5
    • Version 3.6
    • Version 3.7
    • Version 4.0

Books

  • Learning jQuery 4th Edition by Karl Swedberg and Jonathan Chaffer Learning jQuery Fourth Edition Karl Swedberg and Jonathan Chaffer
  • jQuery in Action by Bear Bibeault, Yehuda Katz, and Aurelio De Rosa jQuery in Action Bear Bibeault, Yehuda Katz, and Aurelio De Rosa
  • jQuery Succinctly by Cody Lindley jQuery Succinctly Cody Lindley
  • Learning Center
  • Chat
  • Twitter
  • GitHub

Copyright 2025 OpenJS Foundation and jQuery contributors. All rights reserved. See jQuery License for more information. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. OpenJS Foundation Terms of Use, Privacy, and Cookie Policies also apply.

Web hosting by Digital Ocean | CDN by Fastly | Powered by WordPress