Liking cljdoc? Tell your friends :D

web.dom.HTMLFormElement

The web.dom.HTMLFormElement interface represents a <form> in the DOM; it allows access to and in some cases modification aspects of the form, as well as access to its component elements.

The `web.dom.HTMLFormElement` interface represents a `<form>`
in the DOM; it allows access to and in some cases modification
aspects of the form, as well as access to its component elements.
raw docstring

accept-charsetcljs

(accept-charset this)

Property.

The HTMLFormElement.acceptCharset property represents a list the supported character encodings for the given FORM element. list can be comma- or space-separated.

var string = form.acceptCharset; form.acceptCharset = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset

Property.

The HTMLFormElement.acceptCharset property represents a list
the supported character encodings for the given FORM element.
list can be comma- or space-separated.

`var string = form.acceptCharset;
form.acceptCharset = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset`
sourceraw docstring

actioncljs

(action this)

Property.

The HTMLFormElement.action property represents the action of <form> element.

var string = form.action; form.action = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action

Property.

The HTMLFormElement.action property represents the action of
`<form>` element.

`var string = form.action;
form.action = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action`
sourceraw docstring

autocompletecljs

(autocomplete this)

Property.

A DOMString reflecting the value of the form's autocomplete HTML indicating whether the controls in this form can have their values populated by the browser.

Property.

A DOMString reflecting the value of the form's autocomplete HTML
indicating whether the controls in this form can have their values
populated by the browser.
sourceraw docstring

check-validitycljs

(check-validity this & args)

Method.

Returns true if the element's child controls are subject to constraint and satisfy those contraints; returns false if some controls not satisfy their constraints. Fires an event named invalid at control that does not satisfy its constraints; such controls considered invalid if the event is not canceled. It is up to programmer to decide how to respond to false.

Method.

Returns true if the element's child controls are subject to constraint
and satisfy those contraints; returns false if some controls
not satisfy their constraints. Fires an event named invalid at
control that does not satisfy its constraints; such controls
considered invalid if the event is not canceled. It is up to
programmer to decide how to respond to false.
sourceraw docstring

elementscljs

(elements this)

Property.

[Read Only]

The web.dom.HTMLFormElement property elements returns an web.dom.HTMLFormControlsCollection all the form controls contained in the <form> element.

nodeList = HTMLFormElement.elements

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements

Property.

[Read Only]

The `web.dom.HTMLFormElement` property elements returns an `web.dom.HTMLFormControlsCollection`
all the form controls contained in the `<form>` element.

`nodeList = HTMLFormElement.elements`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements`
sourceraw docstring

encodingcljs

(encoding this)

Property.

The HTMLFormElement.encoding property is an alternative name the enctype element on the DOM web.dom.HTMLFormElement object.

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding

Property.

The HTMLFormElement.encoding property is an alternative name
the `enctype` element on the DOM `web.dom.HTMLFormElement` object.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding`
sourceraw docstring

enctypecljs

(enctype this)

Property.

The HTMLFormElement.enctype property is the MIME type of content is used to submit the form to the server. Possible values are:

var string = form.enctype; form.enctype = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype

Property.

The HTMLFormElement.enctype property is the MIME type of content
is used to submit the form to the server. Possible values are:

`var string = form.enctype;
form.enctype = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype`
sourceraw docstring

lengthcljs

(length this)

Property.

[Read Only]

The HTMLFormElement.length read-only property returns the number controls in the <form> element.

numControls = form.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length

Property.

[Read Only]

The HTMLFormElement.length read-only property returns the number
controls in the `<form>` element.

`numControls = form.length;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/length`
sourceraw docstring

methodcljs

(method this)

Property.

The HTMLFormElement.method property represents the HTTP method to submit the <form>.

var string = form.method; form.method = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method

Property.

The HTMLFormElement.method property represents the HTTP method
to submit the `<form>`.

`var string = form.method;
form.method = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method`
sourceraw docstring

namecljs

(name this)

Property.

The HTMLFormElement.name property represents the name of the <form> element as a string.

var string = form.name; form.name = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name

Property.

The HTMLFormElement.name property represents the name of the
`<form>` element as a string.

`var string = form.name;
form.name = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name`
sourceraw docstring

no-validatecljs

(no-validate this)

Property.

A Boolean reflecting the value of the form's novalidate HTML indicating whether the form should not be validated.

Property.

A Boolean reflecting the value of the form's novalidate HTML
indicating whether the form should not be validated.
sourceraw docstring

report-validitycljs

(report-validity this)

Method.

The HTMLFormElement.reportValidity() method returns true if the child controls satisfy their validation constraints. When false returned, cancelable invalid events are fired for each invalid and validation problems are reported to the user.

HTMLFormElement.reportValidity()

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reportValidity

Method.

The HTMLFormElement.reportValidity() method returns true if the
child controls satisfy their validation constraints. When false
returned, cancelable invalid events are fired for each invalid
and validation problems are reported to the user.

`HTMLFormElement.reportValidity()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reportValidity`
sourceraw docstring

request-autocompletecljs

(request-autocomplete this & args)

Method.

Triggers a native browser interface to assist the user in completing fields which have an autofill field name value that is not off on. The form will receive an event once the user has finished the interface, the event will either be autocomplete when the have been filled or autocompleteerror when there was a problem. method has been removed from Chrome and Firefox — see bug 1270740 background information on why.

Method.

Triggers a native browser interface to assist the user in completing
fields which have an autofill field name value that is not off
on. The form will receive an event once the user has finished
the interface, the event will either be autocomplete when the
have been filled or autocompleteerror when there was a problem.
method has been removed from Chrome and Firefox — see bug 1270740
background information on why.
sourceraw docstring

resetcljs

(reset this)

Method.

The HTMLFormElement.reset() method restores a form element's values. This method does the same thing as clicking the form's button.

HTMLFormElement.reset()

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset

Method.

The HTMLFormElement.reset() method restores a form element's
values. This method does the same thing as clicking the form's
button.

`HTMLFormElement.reset()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset`
sourceraw docstring

set-accept-charset!cljs

(set-accept-charset! this val)

Property.

The HTMLFormElement.acceptCharset property represents a list the supported character encodings for the given FORM element. list can be comma- or space-separated.

var string = form.acceptCharset; form.acceptCharset = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset

Property.

The HTMLFormElement.acceptCharset property represents a list
the supported character encodings for the given FORM element.
list can be comma- or space-separated.

`var string = form.acceptCharset;
form.acceptCharset = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/acceptCharset`
sourceraw docstring

set-action!cljs

(set-action! this val)

Property.

The HTMLFormElement.action property represents the action of <form> element.

var string = form.action; form.action = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action

Property.

The HTMLFormElement.action property represents the action of
`<form>` element.

`var string = form.action;
form.action = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/action`
sourceraw docstring

set-autocomplete!cljs

(set-autocomplete! this val)

Property.

A DOMString reflecting the value of the form's autocomplete HTML indicating whether the controls in this form can have their values populated by the browser.

Property.

A DOMString reflecting the value of the form's autocomplete HTML
indicating whether the controls in this form can have their values
populated by the browser.
sourceraw docstring

set-encoding!cljs

(set-encoding! this val)

Property.

The HTMLFormElement.encoding property is an alternative name the enctype element on the DOM web.dom.HTMLFormElement object.

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding

Property.

The HTMLFormElement.encoding property is an alternative name
the `enctype` element on the DOM `web.dom.HTMLFormElement` object.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/encoding`
sourceraw docstring

set-enctype!cljs

(set-enctype! this val)

Property.

The HTMLFormElement.enctype property is the MIME type of content is used to submit the form to the server. Possible values are:

var string = form.enctype; form.enctype = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype

Property.

The HTMLFormElement.enctype property is the MIME type of content
is used to submit the form to the server. Possible values are:

`var string = form.enctype;
form.enctype = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/enctype`
sourceraw docstring

set-method!cljs

(set-method! this val)

Property.

The HTMLFormElement.method property represents the HTTP method to submit the <form>.

var string = form.method; form.method = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method

Property.

The HTMLFormElement.method property represents the HTTP method
to submit the `<form>`.

`var string = form.method;
form.method = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/method`
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

The HTMLFormElement.name property represents the name of the <form> element as a string.

var string = form.name; form.name = string;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name

Property.

The HTMLFormElement.name property represents the name of the
`<form>` element as a string.

`var string = form.name;
form.name = string;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/name`
sourceraw docstring

set-no-validate!cljs

(set-no-validate! this val)

Property.

A Boolean reflecting the value of the form's novalidate HTML indicating whether the form should not be validated.

Property.

A Boolean reflecting the value of the form's novalidate HTML
indicating whether the form should not be validated.
sourceraw docstring

set-target!cljs

(set-target! this val)

Property.

The target property of the web.dom.HTMLFormElement interface the target of the form's action (i.e., the frame in which to its output).

string = HTMLFormElement.target HTMLFormElement.target = string

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target

Property.

The target property of the `web.dom.HTMLFormElement` interface
the target of the form's action (i.e., the frame in which to
its output).

`string = HTMLFormElement.target
HTMLFormElement.target = string`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target`
sourceraw docstring

submitcljs

(submit this)

Method.

The HTMLFormElement.submit() method submits a given <form>.

HTMLFormElement.submit()

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit

Method.

The HTMLFormElement.submit() method submits a given `<form>`.

`HTMLFormElement.submit()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit`
sourceraw docstring

targetcljs

(target this)

Property.

The target property of the web.dom.HTMLFormElement interface the target of the form's action (i.e., the frame in which to its output).

string = HTMLFormElement.target HTMLFormElement.target = string

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target

Property.

The target property of the `web.dom.HTMLFormElement` interface
the target of the form's action (i.e., the frame in which to
its output).

`string = HTMLFormElement.target
HTMLFormElement.target = string`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/target`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close