Formdata

FormData

Module: whatwg.formdata Support: Experimental Docs: WHATWG Docs

Type Aliases

  • FormDataEntryValue

Interface FormData

Provides a way to construct multipart/form-data or application/x-www-form-urlencoded encoded key/value pairs.

Since: 1.1.0 Docs: WHATWG Docs

10 members: 10 undocumented

Constructors

⚪ constructor(form, submitter)
HTMLFormElement, HTMLElement?

Methods

⚪ append(name, value)
string, string
⚪ append(name, blobValue, filename)
string, Blob, string
⚪ delete(name)
string
⚪ get(name)
→ FormDataEntryValue?
⚪ getAll(name)
→ sequence
⚪ has(name)
→ boolean
⚪ set(name, value)
string, string
⚪ set(name, blobValue, filename)
string, Blob, string

Iterators

⚪ @@iterator
Not documented

---