I can get most of what I need for processing form data straight out of jQuery. I can listen for the submit
event on the form, and I can prevent the form from actually getting submitted, allowing my own behaviour to run. jQuery also helps me collect the form data I need with the serializeArray()
function. This function returns an array of form values. Lodash can help me transform this array into something more usable.
Showing posts with label serailizearray. Show all posts
Showing posts with label serailizearray. Show all posts
Monday, June 30, 2014
Processing Form Data with jQuery and Lodash
Labels:
groupby
,
jquery
,
lodash
,
mapvalues
,
serailizearray
Subscribe to:
Posts
(
Atom
)