Reputation: 239
In Google Chorome's DevTool I try to do that:
var fd = new FormData();
fd.append('newField', 'someValue');
but fd still is empty. Any Idea?
Upvotes: 2
Views: 1240
Reputation: 12129
fd.get('newField');
The above will return 'someValue'
.
You should note that it is supported on Chrome v50 and firefox v39. See here for support.
Upvotes: 1