Created
May 19, 2020 09:57
-
-
Save jarcos/8b98c1d2d6142f08f739a6a221564f11 to your computer and use it in GitHub Desktop.
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
$('#form').submit( function (event) { // Needs to be submit to catch all the fields | |
event.preventDefault(); | |
var formContent = $( this ).serialize(); | |
}); | |
$('input[name=checkboxes[]]:checked').serialize(); // Capture all checked checkboxes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment