HTMLFormElement: target property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("HTML DOM")}}
The **target** property of the {{domxref("HTMLFormElement")}} interface represents the target of the form's action (i.e., the frame in which to render its output).
Value
A string.
Examples
js
myForm.target = frames[1].name;Specifications
{{Specifications}}
Browser compatibility
{{Compat}}