I'm trying to see what content is contained inside an [object FormData]
, and in particular inside a specific element whose name should be Name
. I would like to alert it, to check if the content is correct, but doing so returns undefined
:
alert(fd['Name']);
I'm pretty sure I'm loading the form data correctly, so I was wondering if the problem is that I'm accessing the data in the wrong way...
PS alerting only fd
returns [object FormData]