up.Params up.Params.fromContainer(container, [options])
Class method

This feature is experimental. Please share your experiences so we know what to keep or change.

Constructs a new up.Params instance from the fields within the given container.

Unlike up.Params.fromForm(), the container may be any element. The params contain the values of all fields within the container, and no submit button.


Parameters

container
required

The element to scan for fields.

Type: Element | jQuery
[options.includeDisabled=false]
optional

Whether to add fields that are disabled.

Type: boolean

Return value

Type: up.Params