Created
April 8, 2024 05:33
-
-
Save MrWhiteD/fac30eddf6f7ebbf036c65902b7cc086 to your computer and use it in GitHub Desktop.
[FormData -> serialize] #formdata #ajax #serialize #js #javascript
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
formData = new FormData($('form.filter').get(0)); | |
data = new URLSearchParams(formData).toString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment