Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html form data to json

var formData= new FormData(form)
JSON.stringify(Object.fromEntries(formData))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #form #data #json
ADD COMMENT
Topic
Name
2+2 =