August 1999
Intermediate to advanced
1488 pages
72h 53m
English
form.target
The target property of the Form object represents the target window or frame in which the form results will be displayed. This can also reflect the TARGET attribute of the HTML <form> tag. Valid target attributes are: _blank, _parent, _self, and _top.
The code in Listing 7.267 is for an HTML document that contains two frames, frameA and frameB, respectively. The target property is used from the frameA object to specify that the returned result is displayed in frameB.
<html> <head> <title> Using the target property of the Form object</title> </head> <body> <script language="JavaScript"> ... |
Read now
Unlock full access