FormData

@native @JSGlobal @JSType
class FormData(form: HTMLFormElement) extends Object

XMLHttpRequest Level 2 adds support for the new FormData interface. FormData objects provide a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest send() method.

Companion:
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def append(name: Any, value: Any, blobName: String): Unit

Appends a key/value pair to the FormData object.

Appends a key/value pair to the FormData object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object