Module: FormDataDeep

Classes

FormDataDeep

Methods

(static) append(object, name, value)

Appends a new value onto an existing key inside an object, or adds the key if it does not already exist.

Parameters:
Name Type Description
object Object
name String
value *
Source:

(static) getFormDataDeep(form, primitives)

Get form data as an object, including nested forms.

Parameters:
Name Type Description
form HTMLFormElement
primitives Boolean

whether to convert string values to primitives. Defaults false.

Source:

(static) removeChildren()

Usage: Array<HTMLElement>.filter(removeChildren)

Removes elements from the array which are children of other elements in the array.

Source: