serialize

UK [ˈsɪəriəlaɪz] US [ˈsɪriəlaɪz]

vt. Serialization, serialization (story)

ajax serialize() method syntax

Function:The serialize() method creates a URL-encoded text string by serializing form values. You can select one or more form elements (such as inputs and/or text boxes), or the form element itself. Serialized values can be used in URL query strings when making AJAX requests.

Syntax:$(selector).serialize()

Description: The.serialize() method creates text characters represented in standard URL encoding string. It operates on a jQuery object that represents a collection of form elements.

ajax serialize() method example

    
First name:
Last name:
Run instance »

Click the "Run instance" button to view the online instance