// Now you can use formData.get('fo $('form').serialize() //this produces: "foo=1&bar=xxx&this=hi" Updated answer for 2014: HTML5 FormData does this var formData = new FormData(document.querySelector('form')) We will also create a method to submit the form once the data has been correctly validated. Get Form Control Elements By Their Names; Get Form Control Elements By Their Index; Using a Reference to the Form Control Elements. The FormData interface is a super convenient way to collect data from a