Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to append data to a form data in javascript

formData.append('username', 'Chris');
formData.append('userpic', myFileInput.files[0], 'chris.jpg');
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #append #data #form #data #javascript
ADD COMMENT
Topic
Name
9+2 =