Interface

HTMLFormElement

HTMLFormElement

A

element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.

View Source js/lib.dom.d.ts, line 2396

Members

string

# acceptCharset

Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form.

View Source js/lib.dom.d.ts, line 2399

string

# action

Sets or retrieves the URL to which the form content is sent for processing.

View Source js/lib.dom.d.ts, line 2404

string

# autocomplete

Specifies whether autocomplete is applied to an editable text field.

View Source js/lib.dom.d.ts, line 2409

boolean

# checkValidity

Returns whether a form will validate when it is submitted, without having to submit it.

View Source js/lib.dom.d.ts, line 2454

HTMLFormControlsCollection

# elements

Retrieves a collection, in source order, of all controls in a given form.

View Source js/lib.dom.d.ts, line 2414

string

# encoding

Sets or retrieves the MIME encoding for the form.

View Source js/lib.dom.d.ts, line 2419

string

# enctype

Sets or retrieves the encoding type for the form.

View Source js/lib.dom.d.ts, line 2424

number

# length

Sets or retrieves the number of objects in a collection.

View Source js/lib.dom.d.ts, line 2429

string

# method

Sets or retrieves how to send the form data to the server.

View Source js/lib.dom.d.ts, line 2434

string

# name

Sets or retrieves the name of the object.

View Source js/lib.dom.d.ts, line 2439

boolean

# noValidate

Designates a form that is not validated when submitted.

View Source js/lib.dom.d.ts, line 2444

void

# reset

Fires when the user resets a form.

View Source js/lib.dom.d.ts, line 2459

void

# submit

Fires when a FORM is about to be submitted.

View Source js/lib.dom.d.ts, line 2464

string

# target

Sets or retrieves the window or frame at which to target content.

View Source js/lib.dom.d.ts, line 2449