Name
target — NN 2 IE 3 DOM 1
Synopsis
Read/Write
The name of the window or frame that is to receive content returned
by the server after the form is submitted. Such names are assigned to
frames by the FRAME
element’s
NAME
attribute; for subwindows, the name is
assigned via the second parameter of the window.open( )
method.
Example
document.myForm.target = "_top"
Value
String value of the window or frame name, or any of the following
constants (as a string): _parent
|
_self
| _top
|
_blank
. The _parent
value
targets the frameset to which the current document belongs; the
_self
value targets the current window; the
_top
value targets the main browser window,
thereby eliminating all frames; and the _blank
value creates a new window of default size.
Default
None (which implies the current window or frame).
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.