I have a FormData object which I create in javascript
from an HTML
form like so. The FormData
object doesn't seem very well documented (it may just be me searching the wrong things!).
var form = new FormData(document.getElementById("form"));
My Question
How do I access the different input values of this FormData
object before I send it off? Eg. form.name
accesses the value that was entered into the input with the name form.name
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…