![]()
Adds the name/value pair to the map.
Arguments:
|
code » | ||||
![]()
Adds a name/value pair to an string buffer array in the form 'name=value'.
|
code » | ||||
![]()
Focuses, and optionally selects the content of, a form element.
Arguments:
|
code » | ||||
![]()
Returns the form data as a map or an application/x-www-url-encoded
string. This doesn't support file inputs.
|
code » | ||||
Returns form data as a map of name to value arrays. This doesn't
support file inputs.
Arguments:
Returns: !goog.structs.Map
A map of the form data as form name to arrays of
values.
|
code » | ||||
Returns the form data as an application/x-www-url-encoded string. This
doesn't support file inputs.
Arguments:
Returns: string
An application/x-www-url-encoded string.
|
code » | ||||
Gets the current value of a checkable input element.
|
code » | ||||
Gets the current value of a select-multiple element.
|
code » | ||||
Gets the current value of a select-one element.
|
code » | ||||
Gets the current value of any element with a type.
|
code » | ||||
Returns the value of the named form field. In the case of radio buttons,
returns the value of the checked button with the given name.
|
code » | ||||
Whether the form has a file input.
Arguments:
Returns: boolean
Whether the form has a file input.
|
code » | ||||
Whether a form element has a value.
|
code » | ||||
Whether a named form field has a value.
|
code » | ||||
![]()
Enables or disables either all elements in a form or a single form element.
|
code » | ||||
![]()
Sets a checkable input element's checked property.
#TODO(user): This seems potentially unintuitive since it doesn't set
the value property but my hunch is that the primary use case is to check a
checkbox, not to reset its value property.
|
code » | ||||
![]()
Sets the value of a select-multiple element.
|
code » | ||||
![]()
Sets the value of a select-one element.
Arguments:
|
code » | ||||
![]()
Sets the current value of any element with a type.
Arguments:
|
code » |