Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js merge 2 form data

let formData = new FormData();
formData.append('test', 'test')
let formDataPrecios = new FormData();
formDataPrecios.append('test2', 'test2')

for (var pair of formDataPrecios.entries()) {
    formData.append(pair[0], pair[1]);
}
 
PREVIOUS NEXT
Tagged: #js #merge #form #data
ADD COMMENT
Topic
Name
7+8 =