.serialize()

.serialize()

.serialize()Returns: String

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

  • version added: 1.0.serialize()

    • This method does not accept any arguments.

The .serialize() method creates a text string in standard URL-encoded notation. It can act on a jQuery object that has selected individual form controls, such as