Baseline Widely available
The formTarget
property of the HTMLButtonElement
interface is the tab, window, or iframe where the response of the submitted <form>
is to be displayed. It reflects the value of the <button>
element's formtarget
attribute.
The value overrides the target
property of the HTMLFormElement
interface if the form is submitted via the button. This property can be retrieved or set. If not set, the value is the empty string (""
).
A string.
ExamplesbtnEl.formTarget = "_self";
Specifications Browser compatibility See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4