Accessing FormData Values

后端 未结 11 834
误落风尘
误落风尘 2020-12-08 07:48

I have a FormData object which I create in javascript from an HTML form like so. The FormData object doesn\'t seem very well documente

11条回答
  •  暖寄归人
    2020-12-08 07:57

    Just to add to the previous solution from @Jeff Daze - you can use the FormData.getAll("key name") function to retrieve all of the data from the object.

提交回复
热议问题