Methods


submit Method

Submits the form.

Syntax

object.submit()

Return Value

No return value.

Remarks

The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly. When using Microsoft Internet Explorer 5.5 and later, you can call the fireEvent method with a value of onsubmit in the sEvent parameter.

Standards Information

This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 World Wide Web link.

Applies To

FORM, HTMLFormElement Constructor

See Also

Tags :


Page view tracker