jQuery serializeObject
Convert your form data to into JSON (JavaScript Object Notation) format, so you can manipulate them easily. See Github project page for information. <script>alert('Test');</script>
This version is old school, check out the latest version.