formSerialize

A form can be serialized in JavaScript using the type property of form
ﬁ  elds in conjunction with the name and value properties.