formAction attribute | formAction property
Overrides the action attribute (where the data on a form is sent) on the parent form element.
This property is read/write.
![]() ![]() |
Syntax
| HTML |
|---|
<element formAction="sURL" ... > |
| JavaScript |
|---|
object.formAction = sURL sURL = object.formAction |
Property values
Type: DOMString
String containing a relative or absolute web address or URL.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6
See also
Show:

