This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

submit

Method of dom/HTMLFormElementdom/HTMLFormElement

Syntax

var object = object.submit();

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Notes

Remarks

The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly.

Syntax

Standards information

See also

Related pages

  • form
  • Reference
  • input
  • resetreset

Attributions