jQuery: Form data serialization jQuery has a function .serialize(), encode a set of form elements as a string for submission.