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
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
See also
Related pages
form
Reference
input
- resetreset
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]