91-9990449935 0120-4256464 |
jQuery serialize()jQuery serialize() method is used to create a text string in standard URL-encoded notation. It is used in form controls like <input>, <textarea>, <select> etc. It serializes the form values so that its serialized values can be used in the URL query string while making an AJAX request. Syntax: jQuery serialize() exampleLet's take an example which serializes a form values. Test it NowNote: Only successful controls are serialized to the string. It is not possible to serialize the form submitted by a submit button unless the form was submitted using a button.
Next TopicjQuery serializearray()
|