Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html form data to json

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