instance method Form#serialize
Form#serialize([options]) → String | Object
-
options
(Object
) – A list of options that affect the return value of the method.
Serialize form data to an object or string suitable for Ajax requests.
See Form.serializeElements
for details on the options.
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.