This yields the value of the TARGET attribute in an <A>, <AREA> or <MAP> tag.
You can assign a new value to this property so that the URL will be directed to a different window or frame.
Here are some example target values:
_parent
_self
_top
_blank
Window name
Frame name
Since the target property of an Anchor object is not portable, you should use the target property of the corresponding link object to be able to work across MSIE and Netscape.
Prev | Home | Next |
Anchor.tabIndex | Up | Anchor.text |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |