Created
December 28, 2016 10:37
-
-
Save zmts/d540e8dbea0226318da9fb540326ff30 to your computer and use it in GitHub Desktop.
Parse data from each input from <form></form> tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// e.currentTarget must be <form></form> tag | |
// onclick submit >> | |
var data = $(e.currentTarget).serializeJSON({parseAll: true}); | |
console.log(data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment