Form

Example

1

Description

Properties

Property Name Description
acceptCharset character sets the server will accept for form data.
action URL to which form data will be submitted
elements array of elements in the form
enctype encoding type used for submitted form data
length number of elements in the form
method HTTP method by which form data is submitted to the server
name name of the form
onreset event handler called when the form's reset button is clicked
onsubmit event handler called when the form's submit button is clicked
target where to open the action URL

Methods

Method Name Description Values
submit() Submits the form.